Same here, can anyone point us in the right direction?
Thanks!
-
☆ A M B ☆
- 894 Posts
I think your better off using conditional css and just style the site with your mobile theme.
I have been trying to get jqtouch to play nice with MODx for a while but have stopped since I have been busy with other paying projects :-/.
Now jquerymobile has been released which is a nice framework but I think in the end your better off probably using some of these frameworks animations with your own layout or making your own.
Thanks for the tip, benmarte, will check it out!
Any additional advice or links on how to leverage conditional CSS specifically for mobile would also be much appreciated.
-
☆ A M B ☆
- 894 Posts
Quote from: nerfherder at Nov 17, 2010, 11:56 AM
Thanks for the tip, benmarte, will check it out!
Any additional advice or links on how to leverage conditional CSS specifically for mobile would also be much appreciated.
HTML5Boilerplate has a css that is setup so you can have your mobile layout and your site layout in 1 css file, you just have to style each accordingly.
http://html5boilerplate.com/
Here’s a tutorial that might help you out.
http://www.davidrcole.com/2010/11/make-your-website-mobile-friendly-in-one-night/
Good luck.
Using different CSS files for different devices can work, but relies on the site using identical markup for both the desktop and mobile version... The great thing about the mobile template switcher is that it reads the users device and then serves up a bespoke template from MODx to suit the device - within this template you can then of course create your own bespoke CSS to suit the device it is to be rendered on.
-
☆ A M B ☆
- 894 Posts
Quote from: dubbs at Nov 17, 2010, 01:05 PM
Using different CSS files for different devices can work, but relies on the site using identical markup for both the desktop and mobile version... The great thing about the mobile template switcher is that it reads the users device and then serves up a bespoke template from MODx to suit the device - within this template you can then of course create your own bespoke CSS to suit the device it is to be rendered on.
You can use conditional css to have it forward the user to a hidden page with your mobile layout and theme also, which is why I think it’s not worth it for someone to invest time making a mobile template switcher.
Another thing to keep in mind is with conditional css you can give the user the option of viewing your mobile site or your regular site, with the mobile theme switcher from evo that was not possible.
-
☆ A M B ☆
- 894 Posts
Quote from: dubbs at Nov 17, 2010, 01:40 PM
P.S. Check out http://www.neonplay.com/ and http://www.neonplay.com/?browser=mobile for an example of the EVO template switcher working - this is the same site with the template switcher analysing the users device, then serving up an appropriate MODx template to clad the page, user can override this if they want by hitting the relevant buttons on the page - a 100% solution to the mobile MODx issue.
This is the kind of solution I seek for REVO.
Cool I was unaware that could be done, that really is the best way to accomplish what you want but until someone ports that plugin to Revo there’s pretty much nothing else you can do besides what I mentioned if you need something that will work while we wait for a Revo version of the plugin :-/