modMobile
modmobile
About
ModMobile allows you to create an adaptive design for your website. Good article to review: http://www.lullabot.com/articles/responsive-adaptive-web-design. You can keep your standard template and then just create a mobile template and modmobile can send the user the correct one based on the device or based on their preference. You can also hide or show parts of your template based on what version is being displayed, full or mobile.
This package installs a 'modMobile' plugin and a modMobile snippet. The plugin will auto detect if a user is on a mobile device. From there you can configure a template to be used for mobile devices. And/or the plugin can set a placeholder and then you can use the property in your Template, Snippet or Chunks.
Project status, June 4th 2015 Needs new project maintainer, I no longer use this method for mobile development but use RWD and mobile first approaches, client side. Server side detecting is not really needed unless you need to support old browsers.
Installation & usage
Installation:
# Install the package through package management.
# Add the following setting to your context(s):
Key: mobile_template
Value: id of your mobile template (example: 2)
# Visit your site on a mobile device. The mobile template should show up
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer jeroenkenters
- Latest release January 16, 2012 (14 years ago)
- First seen in SiteDash March 3, 2011 (15 years ago)
- License GPLv2
- MODX support 2.0 – 100.0
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.0.2-pl |
January 16, 2012
14 years ago |
— |
| MODX.com |
0.1-alpha |
March 3, 2011
15 years ago |
— |
|
No matching releases. |
|||