Jump to:

5542 Posts in 1739 Topics by 1225 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Extend the Navigation Menu

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

Page: 1
Go to End
Author Topic: 1307 Views
  • BigChris
    Community Member
    63 Posts

    Extend the Navigation Menu Link to this post


    I like the way SilverStripe outputs the Navigation Menu so it can be controlled via Menu() on the template files.

    However can it be extended?
    As I would like to be able to display the menu into grouped items. By this I mean add a label and possibly an order so that I can display the menu in footer links grouped together by label.

    The reason for this is so that the main menu navigation renders as the it looks on the sitetree but have the footer render footer links grouped by label.

    Included is a screen shot of the template. The menu is as the sitetree has it, but the footer is what I am trying to change. There are 3 columns, the first being the output from the sitetree and the other 2 as I would like it to be.

    I am thinking I need to extend sitetree, is that correct?
    Also does anyone have any links to topics on extending the sitetree?
    (Looked on google and the forums but not came across anything yet.)


    Attached Files
  • craesh
    Community Member
    25 Posts

    Re: Extend the Navigation Menu Link to this post

    Hi Chris!

    What about this idea: Put your menu items into the second menu level and "misuse" the first menu level for your labels. You will then display both first menu levels.


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.