Thursday 02 October 2008 2:10:06 am
Hi, I've taken over work utilising ezpublish 3.8.4 I have a folder that stores a bunch of articles. Since I needed more fields for the articles to come, I created a custom article class. I used the code below to fetch the articles
{def $page_limit=20}
{def $list_items=fetch('content','list',hash('parent_node_id',1947,
'sort_by', array('published', false()), 'limit', $page_limit,
'class_filter_type', 'include', 'class_filter_array', array( '43' ), 'class_filter_array', array( '2' )
))}
Array 2 refers to the article class Array 43 refers to my customised article class. Node 1947 is the folder I am storing my articles in. However when listing, only the Article class ones show and not the new customised class (43) I made. Can there be something else that is blocking my listing? Thanks in advance for the help!
|