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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

SubsitesVirtualPage using the contents original theme, not the subiste theme

Go to End

3 Posts   527 Views


Community Member, 70 Posts

19 October 2011 at 5:55pm


I have silverstripe set up with subsites. When i create a new subsite and add in a subsitesvirtual page the page is showing on the subsite with the theme from the site it comes from , rather than the current site i am on.

That has to be a bug right? hard to imagine this is how its supposed to work.

What can i do to fix?



Community Member, 70 Posts

21 October 2011 at 2:31pm


Would be awesome if someone could let me know if this is expected behaviour or a bug or whatever. Its a bit of a show-stopper, obviously.



Community Member, 70 Posts

21 October 2011 at 4:58pm

thanks to pyromanik on irc, i tracked the line in the core that is overwriting the subsites
/saphire/core/control/contentController.php line 127

I have commented that out and everything is ok. Well, except i can't set the main site theme via the cms, have to do it in the config or the site has no templates, buts thats bareable.

Would be better to fx the module i know.