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   478 Views

Avatar
AkiRoss

Community Member, 6 Posts

29 October 2012 at 10:45pm

Edited: 29/10/2012 10:46pm

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

Community Member, 49 Posts

30 October 2012 at 1:49am

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.