5514 Posts in 1733 Topics by 1219 members
|Go to End|
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.)
22 June 2010 at 8:34pm
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.
|Go to Top|