10389 Posts in 2200 Topics by 1712 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 206 Views |
-
SubsitesVirtualPage using the contents original theme, not the subiste theme

19 October 2011 at 5:55pm
Hi
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?
thanks,
will -
Re: SubsitesVirtualPage using the contents original theme, not the subiste theme

21 October 2011 at 2:31pm
Bump.
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.
Thanks,
Will -
Re: SubsitesVirtualPage using the contents original theme, not the subiste theme

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
SSViewer::set_theme($config->Theme);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.
w
| 206 Views | ||
|
Page:
1
|
Go to Top |

