Sunday 01 February 2004 8:39:21 am
I am still new to the eZ programming language. I am trying to make a fetch statement but the fetch depends on the value of the class that I am looking at. If the class Id of the current object equals 14 then I want the $:item.node_id to be equal to the $node.parent_node_id. I tried all kind of things and the last try is presented below. None of them worked. Can somebody help/tell me how to do this?
{section show=eq( $node.object.contentclass_id, 14)}
{set item.node_id=node.parent_node_id}
{/section}
{section loop=fetch( content,
list,
hash( parent_node_id, $:item.node_id,
class_filter_type, include,
class_filter_array, array( 'security' ),
sort_by, $:item.sort_array ) ) } ..... {/section}
|