Forums / General / attribute_filter / Comment32310

Author Topic

Carlos Revillo

Sunday 09 October 2005 1:28:08 am

Comment32310

sorry. let's see...
i have a folder wich node_id is, for example, 60.
i also have three sub-folders, node_id=61, node_id=62, node_id=63.

now i want a list of subfolders of folder with node_id=60 and i try...

{let children=fetch( content, list, hash( parent_node_id, 60,
                                     sort_by, $node.sort_array,
                                    class_filter_type, include,
                                     class_filter_array, array( 'folder'  ) ) )}

that works for me. but now i want an attribute_filter. i want a list of subfolders wich node_id IS NOT 62. so i try

{let children=fetch( content, list, hash( parent_node_id, 60,
                                     sort_by, $node.sort_array,
attribute_filter, array(array('node_id','!=',62)),
                                     class_filter_type, include,
                                     class_filter_array, array( 'folder'  ) ) )}

but i can't make it work. thanks.