Nebojsa Eric
|
Thursday 18 May 2006 3:59:08 am
What am I doing wrong?
{let name=somename children=fetch( content, list, hash
(parent_node_id, 90,
sort_by, array( 'attribute', false(), 'someclass/date' ),
depth, 5,
limit, 5,
class_filter_type, include,
class_filter_array, array( 'someclass' ) )) }
{section loop=$:children}
... ... This code returns nothing... It should return all objects under the main node 90 until depth 5 of class someclass.
|
Nebojsa Eric
|
Thursday 18 May 2006 4:47:29 am
Thank you Lukasz. Tree works. I`m trying this with list and tree since morning and I finally found what is wrong.
Can`t use .... fetch( content, tree, hash (parent_node_id... Syntax must be .... fetch( content, tree, hash(parent_node_id... "hash" and "(" should be together. Otherwise, not working. There was a problem. :)
|