17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2059 Views |
-
Flat URL namespace

18 June 2008 at 8:24pm Last edited: 18 June 2008 8:35pm
I can't believe I'm the only/first one asking this question; is the SS URL namespace completely flat? When I create a page and go to the Content->Meta-data tab to edit the URL, it presents me with a static portion (http://www.example.com/) and a variable portion. However it looks like the variable portion does not allow for subdirectories or any other way to group my pages together. For example, I can see having a "blog" page with the same name as an "ecommerce" page.
I would expect to do have URLs like ".../blog/issue1", ".../blog/issue2", ".../ecommerce/product1", ".../ecommerce/product2". Or even breaking blog entries up into year/month/day type URLs.
Am I missing something with SS? I realize that I could probably go through and make each URL unique just by adding enough description to it, but that gets increasingly tedious as the number of pages grows and is subject to human error. Almost every site in existence today works this way. What am I missing?!?
Thanx!
RichardP.S. I searched for the answer to this question in both the forums and Trac but was unable to find anything.
-
Re: Flat URL namespace

18 June 2008 at 8:52pm
search for sublevel or urls.
have a look at the discussion at:
http://www.silverstripe.com/extending-hacking-silverstripe-forum/flat/526seems to be 'hard to implement'...
g
helmut -
Re: Flat URL namespace

18 June 2008 at 10:03pm
Helmut,
Thanks for the great link to a ongoing discussion! I'm going to followup on that thread. I have no idea how I missed it - maybe because I didn't search for 'sublevel' URLs.
Later...
Richard -
Re: Flat URL namespace

18 June 2008 at 10:17pm Last edited: 18 June 2008 10:17pm
Thanks for the great link to a ongoing discussion!
And what a ongoing discussion it has been! Before we hear another round of why SilverStripe needs this. I like Sams post on the dev mailing listAdding backslashes to URLSegments would be a lesson in pain.
http://groups.google.com/group/silverstripe-dev/browse_thread/thread/ed0ca8a196f04e1f/516ef9d5d16503cb?#516ef9d5d16503cbAnd basically unless we find someone or a group willing to take it on Or a / few projects willing to finance to a extent the incredible amount of man hours involved this will likely stay firmly on the 'Nice to have..' list.
| 2059 Views | ||
|
Page:
1
|
Go to Top |



