Author Topic

Paul Borgermans

Tuesday 12 October 2004 9:47:40 am

Comment16657

The above still contains a syntax error:

{let news_list=fetch( content, list, hash( parent_node_id, ###,
		limit, 20,
		sort_by, array( published, false() )))}

You probably also want to filter only on articles (assume the class identifier is 'article'):

{let news_list=fetch( content, list, hash( parent_node_id, ###,
		limit, 20,
		sort_by, array( published, false() ),class_filter_type,include,class_filter_array,array('article')))}

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans