Jump to:

3214 Posts in 848 Topics by 810 members

Template Questions

SilverStripe Forums » Template Questions » page order in menu

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 909 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
    270 Posts

    Re: page order in menu Link to this post

    909 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.