23453 Posts in 18902 Topics by 2877 members
Page: 1 2
|Go to End||Next >|
2 September 2009 at 4:32am
I'd like page URL to be structured hierarchally. That Page URL structure would build as: mysite.com/ParentPage/CurrentPage.
I know I could build this manually in each page Page in the CMS Page MetaData but it would be easier if this was a page function
2 September 2009 at 7:18pm
Built in support for hierarchy urls is coming in silverstripe 2.4. For now if you want to have them (and you are fairly good with SVN) you might want to try the nested urls branch of silverstripe . It it available by going checking out http://svn.silverstripe.com/open/phpinstaller/branches/nestedurls/
6 September 2009 at 1:19am
Considering SilverStripe on a somewhat larger project and hierarchy urls are an absolute hard requirement (I was suprised to find it is currently not supported).
Is there an educated guess to be made on when version 2.4 will be a stable release and available for download?
6 September 2009 at 5:19pm
hierarchy urls are an absolute hard requirement
You could try using the development branch which has this functionality. 2.4 has some major refactoring and new features (eg hierarchy urls) so I am expecting it to been a while till we see it released as a stable release.
According to the roadmap - 2.4 alpha is 78% complete but the nested urls feature and some other refactoring still needs to be brought into the trunk code base which takes time. Currently 12 open tickets for 2.4 - http://open.silverstripe.com/query?status=replyneeded&status=new&status=inprogress&status=reviewed&group=status&milestone=2.4.0+alpha
6 September 2009 at 11:40pm
Thanks for your reply - I'm reading between the lines that it could take weeks or months rather than days to have a stable 2.4 release. I can't really get away with using development branches for the site I'm looking at (I can't risk having to refactor the thing in a few weeks time) so I'm going to have to skip SS for this project and make another choice.
It's no big deal - but considering I really like the looks of SS - I'm sure it will be in the running again for a next project!
Keep up the good work!
7 September 2009 at 5:00pm
Will, is there a place you can point at in the code that handles the hierarchical URL structure (category/subcat) that we can use to hack around with until the final release is ready? For me, as well, that's the only thing standing in my way of using SS -v- something else. The robustness you've built in from a developer perspective is just fantastic...so I hate the idea of not being able to use SS...even if I had to just upgrade and refactor a part of my code...but I don't feel comfortable using the non-release candidate right now.
7 September 2009 at 6:21pm
I've moved nested URLs from subverison to git - however you'll need to manually checkout the externals such as tiny mce to use this. I would reccomend just waiting for the merge back, which hopefully will be relatively soon.
You can check out the code at the nestedurls branch of each of the following:
7 September 2009 at 10:58pm
Thanks for all your work on this AJShort - you're going to make life a lot easier for a lot of us soon!
I've grabbed the code from Git, sorted the externals, and everything is kind of working, but I can't see where I enable the nested URLS.
I tried SiteTree::enable_nested_urls(); in my config file, but I get a white screen, and the error log shows:
PHP Fatal error: Call to undefined method SiteTree::enable_nested_urls() in /Users/me/Sites/site/public_html/sitefiles/_config.php on line 27
Am I putting it in the right place, or does it need to be done differently now?
Page: 1 2
|Go to Top||Next >|