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

Avatar
rOger

Community Member, 4 Posts

22 December 2008 at 10:41pm

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

Community Member, 787 Posts

23 December 2008 at 12:18am

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

Community Member, 4 Posts

23 December 2008 at 6:25am

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