Claus Jensen
|
Tuesday 14 October 2003 1:11:49 am
Hi,
This works:
{let node_obj=fetch(content,node,hash(node_id,$node.node_id))}
{section loop=fetch(content,list,hash(parent_node_id,2, class_filter_type, "include", class_filter_array, array(1),sort_by,array(array(priority))))}
{section show=and(ne($:item.node_id, 131),ne($:item.node_id, 130))}
{$:item.data_map.menu_title.data_text}
{section show=$node_obj.path_array loop=fetch(content,list,hash(parent_node_id,$:item.node_id, sort_by,array(array(priority))))}
{$:item.data_map.menu_title.data_text}
{/section}
{/section}
{/section} {/let} If I were you I would try doing the looping the other way around. Like first looping the frontpages children, then fetching the nodes under it and looping them. Like in my example over. Its taken from the ezwiki (http://ezwiki.blanko.info/index.php/3XHT_TmplObjTree) and refined for my needs.
regards, claÜs
|