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.

General Questions /

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

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

Go to first child of page


Go to End


3 Posts   1809 Views

Avatar
bartvanirsel

Community Member, 96 Posts

30 March 2010 at 1:59am

Edited: 30/03/2010 2:06am

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?

Avatar
Juanitou

Community Member, 323 Posts

30 March 2010 at 3:24am

Avatar
bartvanirsel

Community Member, 96 Posts

30 March 2010 at 3:33am

thanks!