My site has a navigation menu with submenu items and some of them should be hidden.
Code for the menu:
<ul id="navigation">
<% control Menu(1) %>
<li><a href="$Link" title="Gehen Sie zur $Title.XML Seite" class="$LinkingMode"><span>$MenuTitle.XML</span></a>
<% if AllChildren %><ul class="subnavigation"> <% end_if %>
<% control AllChildren %>
<li><a href="$Link" title="Gehen Sie zur $Title.XML Seite" class="$LinkingMode"><span>$MenuTitle.XML</span></a></li>
<% end_control %>
<% if AllChildren %></ul> <% end_if %>
</li>
<% end_control %>
</ul>
Unfortunately this seems to display all sub-pages even if they are unchecked at 'Show in Menu'.
For example: There is a Products page and it has 19 child-pages but only 4 should be displayed. How can I hide the 15 pages? And I don't want to put them underneath another page - that would be pretty messy.
My question: How can I have child-pages that stay hidden in the menu?