5102 Posts in 1520 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1101 Views |
-
Extend the Navigation Menu

21 June 2010 at 12:59am
Hello,
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.)Cheers
Chris -
Re: Extend the Navigation Menu

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.
Greetings
craesh
| 1101 Views | ||
|
Page:
1
|
Go to Top |


