Jump to:

10845 Posts in 2516 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » Changing between subsites doesn't work

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 874 Views
  • Imbrondir
    Avatar
    Community Member
    13 Posts

    Changing between subsites doesn't work Link to this post

    I had installed silverstripe 2.4.4, then later added the subsite module. Nothing seemed to work at first, so found the github site (https://github.com/silverstripe/silverstripe-subsites) and checked out master. Now everything seemed as I imagined it. Great.

    Except the drop down menu on the top doesn't change the pages shown. I had now waited a while before actually using it, so I tried to fetch and checkout git master again. Still same problem. I updated to 2.4.5, yet still changing the drop down menu doesn't do anything. What am I doing wrong? The drop down menu has all the subsites I've created from the menu listed, but whatever selected in the drop down menu doesn't matter. What could I be doing wrong?

  • Imbrondir
    Avatar
    Community Member
    13 Posts

    Re: Changing between subsites doesn't work Link to this post

    Great. I've tried to solve this for several hours, ask the question, and THEN i find a workable solution by myself. The problem still stands, however I can change between the subsites by simply changing the subsite URL. As in abcurl.com/admin edits abcurl.com subsite, while xyz.com/admin edits the xyz.com url. Not quite as simple as I'd hoped, but I'm happy with a working solution. If somebody still has a tip for making the drop down menu work though, that'd still be very apreciated.

  • azure_steve
    Avatar
    Community Member
    1 Post

    Re: Changing between subsites doesn't work Link to this post

    Hi Imbrondir,

    While I do realise that this was 11 months ago now, I'm popping this response here for other people who may search for the fix and not find it.

    I, like yourself was having the same problem, however, I noted that the JS require calls were looking for the folder /subsites/ and not /module_subsites/ as it appears when downloaded.

    Renaming the folder to /subsites/ (as it mentions in the installation instructions - d'oh) fixes everything up nicely.

    Regards.

  • Imbrondir
    Avatar
    Community Member
    13 Posts

    Re: Changing between subsites doesn't work Link to this post

    Very considerate of you

  • la_fayette
    Avatar
    Community Member
    5 Posts

    Re: Changing between subsites doesn't work Link to this post

    Thanks for your help! I had the same problem today...

    874 Views
Page: 1
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.