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   467 Views

Avatar
Niubi

Community Member, 1 Post

24 February 2012 at 11:35am

Edited: 24/02/2012 11:36am

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

Forum Moderator, 5513 Posts

24 February 2012 at 1:00pm

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.