Jump to:

10990 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Subsites VirtualPage uses wrong theme

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 322 Views
  • Bob Martin
    Community Member
    5 Posts

    Subsites VirtualPage uses wrong theme Link to this post

    hey there,

    I'm using the Subsite module in order to separate a desktop web and a web for mobile devices. I created a theme for each site, so far so good. The themes are assigned correctly and the sites work perfectly side by side.

    Now I created a Subsites Virtual Page to pull some content from my desktop subsite to the mobile subsite. But when I open that page on the mobile web, the whole page is rendered with the desktop theme, and I just cannot work out why.

    If I try the other direction, thus pulling content from the mobile web to the desktop web, everything works as expected.

    Versions: SS 2.4.6, Subsites from trunk, furthermore dataobject_manager and some other. I did't have a chance to try with less modules yet, but maybe the solution is much more simple?

    I also wrote a simple VirtualCalendarPage myself to pull events from event_calender, wich works just fine.


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.