3214 Posts in 848 Topics by 810 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1087 Views |
-
nested menu, children has no items (ss1.4rc2)

4 May 2010 at 11:56pm
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.
| 1087 Views | ||
|
Page:
1
|
Go to Top |

