Jump to:

3393 Posts in 976 Topics by 852 members

Template Questions

SilverStripe Forums » Template Questions » page order in menu

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

Page: 1
Go to End
Author Topic: 1249 Views
  • FlyingIron
    Avatar
    Community Member
    1 Post

    page order in menu Link to this post

    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.

  • Martijn
    Avatar
    Community Member
    271 Posts

    Re: page order in menu Link to this post

  • Sergi_Jini
    Avatar
    Community Member
    3 Posts

    Re: page order in menu Link to this post

    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

    1249 Views
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.