Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Implementing third level menu


Reply

2 Posts   461 Views

Avatar
AkiRoss

29 October 2012 at 10:45pm (Last edited: 29 October 2012 10:46pm), Community Member, 6 Posts

I just started using SS today and quite happy with it until I found that there's no way I can see third level menu items at front end.
Some forum posts got talk about third level menu item but cannot find helpful one for beginners.

Can anyone guide me how to implement to get third level menu in SS site? Thanks!

Aki

Avatar
Johan

30 October 2012 at 1:49am Community Member, 49 Posts

Just change Menu(1) to Menu(3).

SS3:

<ul>
<% loop Menu(3) %>   
<li class="$LinkingMode"><a href="$Link">$MenuTitle.XML</a></li>
<% end_loop %>
</ul>

For SS2 replace loop with control.