Hello
I have a vertical menu with the level 1 pages displayed.
When you click on a page that has children it should display them.
See example.
So i thought this code should do the trick, but it doesn't do anything. I'm only seeing level 1.
In page.php I have enabled children.
static $allowed_children = array('Page');
<ul>
<% control Menu(1) %>
<li><a href="$Link" title="Go to the $Title.XML page" class="$LinkingMode"><span>$MenuTitle.XML</span></a></li>
<% if Menu(2) %>
<ul id="Menu2">
<% control Menu(2) %>
<li class="$LinkingMode"><a href="$Link" title="Go to the "{$Title}" page">$MenuTitle.XML</a></li>
<% end_control %>
</ul>
<% end_if %>
<% end_control %>
</ul>