Friday 21 October 2005 12:49:44 am
This is how ive tried to get the attribute filter to function: {def $meny_elementer=fetch('content','list',
hash('parent_node_id', 2,
'class_filter_type', 'include',
'class_filter_array', array( 'folder' ),
'attribute_filter', array( array( 'folder/vis_meny',
'=',
'yes' )),
'sort_by', array( 'priority', true() )
))}
The field 'vis_meny' is a checkbox. I have also tried to set 'yes' to true(). Also tried to controll this with 'attribute_filter', array( 'priority', '=>', '1' ),
Attribute filter always returns false
--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------
|