How to display folder?

Author Message

Fiona Hisa

Sunday 11 November 2007 6:35:08 pm

hi, everyone
I have added an attribute--"pick" to the article,this is a check box. If I create a news folder and add some articles. how to display the news folder with only the pick attribute checked article?

thanks in advance!

source pixel

Sunday 11 November 2007 10:55:56 pm

May be this HELP?

{def $list=fetch( 'content', 'list',
        hash( 'parent_node_id',     $node.node_id,
              'class_filter_type',  'include',
              'class_filter_array', array( 'article' ), 
              'attribute_filter', array( array('article/name_checkbox', '=', true() ))
              
              ))

}

Fiona Hisa

Monday 12 November 2007 12:49:17 am

attribute_filter
thanks ,It works now, ^_^

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.