Forums / Setup & design / How to get the node_list toolbar to only fetch node of (a) certain class(es)?

How to get the node_list toolbar to only fetch node of (a) certain class(es)?

Author Message

Felix Laate

Thursday 27 January 2005 2:12:13 am

Hi all!

Well, the title says it all.. Is there a way to do this, preferably without doing alot of template-coding. But if that is what it takes, so be it..!

felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Roberto Frascarelli

Friday 28 January 2005 7:58:49 am

create an override of the template /toolbar/full/node_list.tpl
for your siteaccess, copying the default template code and change
fetch parameters:

...
 class_filter_type, exclude,
 class_filter_array, array( 'folder' )
...

with :

...
 class_filter_type, include,
 class_filter_array, array( 'classA','classB',... )
...

more information here:
http://ez.no/ez_publish/documentation/reference/data_fetching/content