21278 Posts in 5728 Topics by 2599 members
| Go to End | Next > | |
| Author | Topic: | 3095 Views |
-
MOBILE SITE

5 September 2009 at 12:43pm Last edited: 5 September 2009 12:43pm
How can I make my site go m or mobile for example
m.bebo.com and make a mobile version bit -
Re: MOBILE SITE

5 September 2009 at 1:04pm
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.
-
Re: MOBILE SITE

29 September 2009 at 1:18pm Last edited: 29 September 2009 1:19pm
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.
-
Re: MOBILE SITE

30 September 2009 at 2:08am
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
-
Re: MOBILE SITE

7 October 2009 at 3:55am
Okay my Tutorial is on ssbits
http://www.ssbits.com/detecting-mobile-browsers-to-re-theme-your-site/
This should get you guys started
-
Re: MOBILE SITE

7 October 2009 at 8:00am
@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.
-
Re: MOBILE SITE

7 October 2009 at 8:21am
I agree - looks excellent and exactly what I needed - thanks!
I'll try implementing this coming week.
| 3095 Views | ||
| Go to Top | Next > |





