Mobile Detection
mobiledetection
About
This plugin combines browser detection and a URL-parameter override to show/hide portions of any template delineated by <mobile> and <standard> tags.
Without modifications, the user's browser is detected *once* and a cookie is set to store the value; if a mobile browser is detected, <standard> portions of the template will be deleted, leaving only <mobile> portions. URL parameters can override the results of the browser detection ie: http://www.yoursite.com?browser=full (will force a mobile phone to display the full desktop version). and can be reversed. Detection is also done site wide with a stored cookie or you have the ability to detect individual pages with browser=detect overrides.
Installation & usage
Install the package from MODX internal package manager.
include the mobileESP detection script
The latest copy can always be found at: "http://mobileesp.googlecode.com/svn/PHP/mdetect.php"
Change this line in the script if you move it out of root - include("mdetect.php");
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer zurie
- Latest release May 30, 2011 (15 years ago)
- First seen in SiteDash February 21, 2011 (15 years ago)
- License GPLv2
- MODX support 2.0 – 100.0
| Changelog | |||
|---|---|---|---|
| MODX.com |
2.1.0-pl |
May 30, 2011
15 years ago |
— |
| MODX.com |
2.0-rc1 |
February 24, 2011
15 years ago |
— |
|
No matching releases. |
|||
We've also seen 1 unverified version of Mobile Detection in use, but don't list those as we've been unable of confirming they are official releases from an official source.