Hey guys,
I've managed to get the vast majority of the site I've been working on up and running, however I've run into a bit of a snag with getting Children of Children working...
My site tree looks like this:
The pages under Championships > WTCC – Race Pro > Results do not show up in the menu (it's the pages Round 5 Qualifying etc.)
My code for the sidebar is as follows:
<div id="Sidebar" class="typography">
<div class="sidebarBox">
<h3>
<% control Level(1) %>
$Title
<% end_control %>
</h3>
<ul id="Menu2">
<% control Menu(2) %>
<% if Children %>
<li class="$LinkingMode"><a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode levela">$MenuTitle.XML</a></li>
<% else %>
<li><a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode levela">$MenuTitle.XML</a></li>
<% end_if %>
<% if LinkOrSection = section %>
<% if Children %>
<li>
<ul class="sub">
<li><a href="$CalendarLink" class="levelb">Calendar</a></li>
<% control Children %>
<li><a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode levelb">$MenuTitle.XML</a></li>
<% end_control %>
</ul>
</li>
<% end_if %>
<% end_if %>
<% end_control %>
</ul>
<div class="clear"> </div>
</div>
<div class="sidebarBox">
<h3>Search</h3>
$SearchForm
</div>
</div>
I've tried duplicating the Menu(2) control and replacing the 2 with a 3 but that didn't work...
Am I mad to try and do children of children or is there a way around it?
Thanks,
Stewart