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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   1009 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.