How can I make my site go m or mobile for example
m.bebo.com and make a mobile version bit
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.
- Page 11(current)
- 2
- Next 10 entries
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.
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.
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
Subscribe... very interested in this..
Okay my Tutorial is on ssbits
http://www.ssbits.com/detecting-mobile-browsers-to-re-theme-your-site/
This should get you guys started
@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.
I agree - looks excellent and exactly what I needed - thanks!
I'll try implementing this coming week.
- Page 11(current)
- 2
- Next 10 entries