nico_xover
Member
Hi everyone,
how can I exclude child nodes of a certain forum (that has a massive list of subforums) from the quick navigation?
I guess I have to work with <xen:if> in this part of the quick_navigation_menu template, but can't get it to work... any tips on which code to include in which row? Very appreciated!!
how can I exclude child nodes of a certain forum (that has a massive list of subforums) from the quick navigation?
I guess I have to work with <xen:if> in this part of the quick_navigation_menu template, but can't get it to work... any tips on which code to include in which row? Very appreciated!!
Code:
<xen:foreach loop="$nodes" value="$node">
<li class="d{$node.depth} {xen:if "{$selected} == 'node-{$node.node_id}'", 'OverlayScroller'}">
<a href="{xen:link {$nodeTypes.{$node.node_type_id}.public_route_prefix}, $node}"
class="{xen:if '{$node.node_type_id} == "Category"', 'OverlayCloser'} {xen:if "{$selected} == 'node-{$node.node_id}'", 'selected'}">
<span class="_depth{$node.depth} depthPad">{$node.title}</span>
</a>
</li>
</xen:foreach>