Jump to:

23478 Posts in 18950 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Implementing third level menu

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

Page: 1
Go to End
Author Topic: 443 Views
  • AkiRoss
    Avatar
    Community Member
    6 Posts

    Implementing third level menu Link to this post

    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

  • Johan
    Avatar
    Community Member
    49 Posts

    Re: Implementing third level menu Link to this post

    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.

    443 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.