So I'm trying to setup a multi-level vertical nav that only displays the children of the page that it's on.
The issue: with the code below, if you navigate to one of the second level pages, all the children in the vertical nav will go away. I want all of the 2nd level links to continue being displayed when you're on 2nd level pages.
In my navigation.ss file:
<ul>
<% control Menu(1) %>
<li><a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode"><span>$MenuTitle</span></a>
<% if isSection %>
<% control Children %>
<ul class="lvl2">
<li class="lvl2"><a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode levela"><span><em>$MenuTitle</em></span></a></li>
</ul>
<% end_control %>
<% end_if %>
</li>
<% end_control %>
</ul>
Any ideas would be greatly appreciated. =]