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.

General Questions /

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

Go to first child of page


Reply


3 Posts   1280 Views

Avatar
bartvanirsel

Community Member, 94 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

http://www.silverstripe.org/customising-the-cms/show/252590?start=0

Avatar
bartvanirsel

Community Member, 94 Posts

30 March 2010 at 3:33am

thanks!