Jump to:

17488 Posts in 4473 Topics by 1978 members

Archive

SilverStripe Forums » Archive » Urls, why no 'sublevel' urls?

Our old forums are still available as a read-only archive.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, simon_w

Page: 1 2 3 4 5 6 7
Go to End
Author Topic: 30749 Views
  • Matt Hardwick
    Avatar
    Community Member
    61 Posts

    Re: Urls, why no 'sublevel' urls? Link to this post

    The patch that is currently available doesn't work. Can we have some progress on this?

    Thanks.

  • dio5
    Avatar
    Community Member
    503 Posts

    Re: Urls, why no 'sublevel' urls? Link to this post

    Is that AJShort's patch?

    It still added the -2 -3 when i tested it, but apart from that it worked well.

    Really hope to see this included somehow in 2.3.

  • Matt Hardwick
    Avatar
    Community Member
    61 Posts

    Re: Urls, why no 'sublevel' urls? Link to this post

    I am on about the patch here:

    http://sstest.grayzagdesign.com/nested-url-s/

    (the dev version hasn't been there for quite a while now)

    I've tried patching that in to various daily builds, and the current "stable" release - but with no success.

  • ajshort
    Avatar
    Community Member
    242 Posts

    Re: Urls, why no 'sublevel' urls? Link to this post

    I can confirm that my patch is working (at least with r55074) - as im currently using it on one of my client's sites. The only problem was to do with a method in ContentController I had to delete (ContentController::Link()).

    Also - there is progress being made with the patch. I have a patch (im not releasing it yet) that works with the current trunk version, but is still a bit buggy/unfinished.

  • Matt Hardwick
    Avatar
    Community Member
    61 Posts

    Re: Urls, why no 'sublevel' urls? Link to this post

    Is that patch I linked to yours then?

  • ajshort
    Avatar
    Community Member
    242 Posts

    Re: Urls, why no 'sublevel' urls? Link to this post

    Indeed it is.

  • Matt Hardwick
    Avatar
    Community Member
    61 Posts

    Re: Urls, why no 'sublevel' urls? Link to this post

    Is the non development version for an older version or a more recent version that the current 2.2.2 release? I tried to patch in the code manually, but the line numbers were way out, and when I tried to run it just didn't work. Also any idea when the newer version is going to be coming up?

    Cheers,

  • ajshort
    Avatar
    Community Member
    242 Posts

    Re: Urls, why no 'sublevel' urls? Link to this post

    Heres some quick instructions on how to apply my first patch. Note: i would recommend that you DO NOT use this is a production environment. It's still a bit quirky in some areas, and could break some important functionality.

    1) Download TortoiseSVN - http://tortoisesvn.tigris.org/
    2) Create a new folder where you wish to install SilverStripe
    3) Right click on it, then click SVN Checkout
    4) Change the repository URL to http://svn.silverstripe.com/open/phpinstaller/trunk - and then change the radio revision box to select "Revision" rather than "Head Revision", and enter 55074 in the little text box. Click OK.
    5) When this is done, right click again on the folder and select TortoiseSVN > Apply Patch, and navigate to your downloaded copy of the patch from my site (theres a download link beneath all the highlighted code)
    6) Install Silverstripe like normal

    As for releasing the new version: Ill release it when its ready ;)

    30749 Views
Page: 1 2 3 4 5 6 7
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.