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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

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

page order in menu


Go to End


3 Posts   2539 Views

Avatar
FlyingIron

Community Member, 1 Post

26 November 2009 at 9:05am

hi there!

don't know if i'm using the right approach here. created the following structure

-mainmenu
--page1
--page2
--page3
-footermenu
--page4
--page5
--page6

mainmenu and footermenu are redirect pages to their first childpage. this is the way one does it in typo3 and I couldn't find a better solution with silverstripe. in my template I'm using ChildrenOf(mainmenu) and ChildrenOf(footernmenu) to include the two menues.
please correct me if there is a better solution for this in silverstripe.

the current problem is the page order. I've deleted the default pages and created the pages shown above. however in the footer menu page 6 is displayed before page5. I guess this might be a result of different ids in the database but I can't find these ids in the backend. I can't reorder the pages in the backend as well. Drag and drop reordering seems to only allow to change the level of the pages not the order. I'm really stuck with this.

Avatar
Martijn

Community Member, 271 Posts

26 November 2009 at 12:06pm

Avatar
Sergi_Jini

Community Member, 3 Posts

2 November 2013 at 1:19am

Hello,

the link - http://doc.silverstripe.com/doku.php?id=recipes:page_selection_for_special_menu seems to be broken and it's posted in lots of articles.

Is there alternative source for recipe?

thanks