I'm working on a plugin to present a different layout to mobile users. It's partly working, you can have a look here: http://www.perjensen-online.dk/showroom/versatile/ login, pass: versatile
But it only works when Simple cache is turned of. When turned on, it only loads some of the changes.
My question is, how is the proper elgg way to switch between mobile and default view.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- R.Cerceau@rcerceau
R.Cerceau - 0 likes
- Brett@brett.profitt
Brett - 0 likes
- Olajide@OlaOguns
Olajide - 0 likes
You must log in to post replies.Very good work! Very clear using iPhone.
Take a look at 'mobile plugin', at community, to look how it work...
Are you intend to put your code to the community?
If it only works with caching turned off it probably means you have logic in a view that's being cached. Pull that logic out into a view that isn't cached.
nice work gillie!