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.

All other Modules

Discuss all other Modules here.

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

Mobile Module - default theme


Reply

2 Posts   376 Views

Avatar
Niubi

24 February 2012 at 11:35am (Last edited: 24 February 2012 11:36am), Community Member, 1 Post

Hi I am new to Silverstripe,

downloaded mobile module and got it working, but I created my own theme and want to change my theme to default,
I added a line "SSViewer::set_theme('cleanmobile');" on _config.php,
but it doesnt work.

much appreciated if someone could help

Avatar
Willr

24 February 2012 at 1:00pm Forum Moderator, 5511 Posts

You set the mobile theme under the Mobile tab in the backend rather than using set_theme() as that sets the theme for the non mobile version.