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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

Mobile Module - default theme


Go to End


2 Posts   875 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, 5523 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.