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

Sub pages and their url...


Reply

3 Posts   1010 Views

Avatar
rOger

22 December 2008 at 10:41pm Community Member, 4 Posts

Hi guys...

I played around with a test installation of SS 2.2.3. I added a sub page to the default installation below "about us" with the title playground. Everything works as expected but then I noticed that the url to the sub page is "flat": I expected that a sub page also is visible as a sub document in the virtual directory tree (means I expected to see http://www.example.org/about-us/playground/) but it shows up as http://www.example.org/playground/.

Is it right that in SilverStripe you do not have paths like in static environments to structure things up? Or did I miss something?

Avatar
Fuzz10

23 December 2008 at 12:18am Community Member, 787 Posts

In the current version of Silverstripe , there is no automatic URL-structuring. There is a code-branch that supports it which I think will be included in 2.4 ....

Have a look at :
http://groups.google.com/group/silverstripe-dev/browse_thread/thread/31e7c94977394df3

Avatar
rOger

23 December 2008 at 6:25am Community Member, 4 Posts

Thank you for your hint! This modification looks great! Thanks again.