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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Implementing third level menu


Go to End


2 Posts   1405 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.