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:

Customising the CMS /

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

Extend the Navigation Menu

Go to End

2 Posts   1729 Views


Community Member, 63 Posts

21 June 2010 at 12:59am


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

Community Member, 25 Posts

22 June 2010 at 8:34pm

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.