Hello.
This is probably obvious to most of you:
I am trying to build a nested menu with -- currently -- two levels. Though there are several children for a first level entry (and "if Children" returns true) those children are not iterated over. "control Childen" is executed only once with $Link and $MenuTitle being empty.
Any Idea?
<% control Menu(1) %>
<li><a href="$Link">$MenuTitle</a></li>
<% if Children %>
<li><ul class="MenuSecond">
<% control Childen %>
<li><a href="$Link">$MenuTitle</a></li>
<% end_control %>
</ul></li>
<% end_if %>
<% end_control %>
Thanks a lot for taking a look.