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, Ed, biapar, Willr, Ingo, swaiba

mobile: using the wrong theme?

Go to End

12 Posts   3128 Views


Community Member, 39 Posts

21 September 2010 at 9:44pm

Edited: 21/09/2010 9:44pm

Actually, commenting out

return $this->owner->redirect($config->FullSiteDomain);

seems to work fine.

Means people can still switch between both on either environment


Community Member, 81 Posts

22 September 2010 at 2:52am

Just turn on option in Admin panel "Mobile users see mobile theme, but no redirection occurs"


Community Member, 28 Posts

3 November 2010 at 7:21am

Hi All, firstly thanks for all the work and amendments to the mobile module. It will be a really useful addition to our site. However I am a Silverstripe newby and although I read as much as I can in the docs and forums I sometimes can't find or extract the info I'm looking for, so I'm afraid I have a silly question:

Could someone clarify the option mentioned by the option Tonyair mentions - "Mobile users see mobile theme, but no redirection occurs"? It's not very clear to me how it should work from the way it's worded so I'm not sure if my installation is working right.

Does it mean a separate mobile subdomain that you only see if you browse to that url directly so if I go to I get the mobile theme regardless of whether I'm on a mobile or not and if I go to I get the full site regardless?

Or does it mean everyone visits the same full site on the same domain and it is rendered with the mobile template or with the full site template according to what device is detected? I think I'd prefer the second option given a choice, (albeit with a link to switch to the alternative theme manually incase you have a very capable mobile or want to view the mobile theme on your desktop for development perhaps) - if this isn't how it works is there a way to achieve this?

Thanks for any help or advice


Community Member, 219 Posts

14 June 2011 at 2:58am

I've also written a little tutorial for anybody needing help with module:

Go to Top