Jump to:

23355 Posts in 17838 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Go to first child of page

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 1218 Views
  • bartvanirsel
    Avatar
    Community Member
    94 Posts

    Go to first child of page Link to this post

    Hi,

    Is it posible to create a menu structure in which the first child of a menu is visited when clicking on the parent?

    Example:

    Home
    -----About us
    -----------About Silverstripe
    -----------About sdfsd
    -----------About fdsdjkf
    -----Contact
    -----Etc

    In the example About Silverstripe will then be displayed when About us is clicked in the menu.

    I tried doing this with the standard SS install by using the Virtual Page and the Redirector page, when saving the whole menu
    and the children are gone from the tree, after that the system hangs on sapphire/core/Object.php. Seems like this is a bug when
    using a Virtualpage to go to an item nested in the tree.

    This als happens at demo.sliverstripe.com

    Is there a solution to achieve this?

  • Juanitou
    Avatar
    Community Member
    323 Posts
  • bartvanirsel
    Avatar
    Community Member
    94 Posts

    Re: Go to first child of page Link to this post

    thanks!

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