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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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


Go to End

13 Posts   3619 Views


5 September 2009 at 12:43pm (Last edited: 5 September 2009 12:43pm), Community Member, 28 Posts

How can I make my site go m or mobile for example and make a mobile version bit


5 September 2009 at 1:04pm Community Member, 528 Posts

You could use the Sub sites Module for the sub domain. I'm working on a system right now that will detect various classes of mobile browser and render them using different themes. Once I have the kinks worked out I plan on posting the recepes. Right now I'm trying to determine if using sub sites is actually the best way to go.


29 September 2009 at 1:18pm (Last edited: 29 September 2009 1:19pm), Community Member, 130 Posts

I'm also curious about this. I'm very new to Silverstripe and haven't started digging in the code yet.

It should be possible to hard code a theme change to a mobile optimised theme if (for example) the first two characters of HTTP_HOST are "m." but I'm sure there's a more elegant way of doing it.


30 September 2009 at 2:08am Community Member, 528 Posts

I have a working version of this using some modified third party code, I plan on posting a tutorial/recipe once I figure out how best to deal with the Creative Commons License of the third party code


3 October 2009 at 4:42am Community Member, 40 Posts

Subscribe... very interested in this..


7 October 2009 at 3:55am Community Member, 528 Posts

Okay my Tutorial is on ssbits

This should get you guys started


7 October 2009 at 8:00am Community Member, 283 Posts

@zenmonkey That is a very nice solution. It get my gears turning on how to involve a subtheme with it to extend existing themes or parallelize development of new ones.


7 October 2009 at 8:21am Community Member, 40 Posts

I agree - looks excellent and exactly what I needed - thanks!

I'll try implementing this coming week.

Go to Top