Share » Forums » Setup & design » how to show a context-dependent...

how to show a context-dependent navigation bar?

how to show a context-dependent navigation bar?

Tuesday 03 June 2003 6:03:22 am - 1 reply

Author Message

Frode Marton Meling

Wednesday 04 June 2003 11:58:03 pm

My suggestion would be to look at the SiteMap template inside standard, and then apply different class filters to the fetch.

Fetch Example:
{section name=test loop=fetch(content,tree,hash(parent_node_id,1,depth,10,class_filter_type,exclude,class_filter_array,array(2)))}

your usage of the fetch
{/section}

This example will loop through all objects but those with class_id=2.
If I only wanted to show class A and class B (ID=10,11) the fetch would look like this fetch(content,tree,hash(parent_node_id,1,depth,10,class_filter_type,include,class_filter_array,array(10,11)))

hope this helps you

MartOn

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu