Forums / Setup & design / include attribute in a template

include attribute in a template

Author Message

Joël LEGER

Monday 09 March 2009 1:32:27 am

Hi,

i have a basic question, i created a class content with attributes (Collect Information), one of them is a selection with option .
The form works fine but i would like to use this attibute as a filter for a list in another template, how can i include it ?

Fátima Chapri

Monday 09 March 2009 2:59:07 pm

Hi jo leg,

How about a fetch list with the "attribute_filter" parameter. You'll be able to fetch a set of nodes where an attribute contains some specific data. Filtering on the attribute level is supported the datatype you have.

Have a look at this link: ez.no/doc/ez_publish/technical_manual/3_9/reference/modules/content/fetch_functions/list