Jump to:

3439 Posts in 1028 Topics by 869 members

Template Questions

SilverStripe Forums » Template Questions » grandchild submenu that show other grandchildren

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

Page: 1
Go to End
Author Topic: 1056 Views
  • PeltierEffects
    Avatar
    Community Member
    6 Posts

    grandchild submenu that show other grandchildren Link to this post

    I want to have a submenu on grandchild page that shows other grandchildren. For example:

    Page A is the top level.
    Page B is a child of Page A
    Page X is a child of Page B
    Page Y is a child of Page B
    Page Z is a child of Page B

    When someone goes to page B , the submenu will show X, Y and Z , this is no problem.

    When someone goes to page X , I want the submenu to show X, Y and Z . However x, Y and Z are not child of X so how do I show them. < %control children > obviously will not work.

    Ideas or suggestions? Thanks

    ***** Update *****

    I found the answer here -
    http://doc.silverstripe.org/old/recipes:siblings

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