Mobile Detection
Mobile Detection is an extra by zurie, first released on 2011-02-21.
Package Description
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.
Usage/Installation Instructions
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");
Details
- Developer(s)
- zurie
- Released
- 2011-02-24
- First seen
- 2011-02-21
- License
- GPLv2
- Supported databases
- Minimum MODX Requirement
- 2.0
Mobile Detection Releases
| Vendor | Signature | Released on |
|---|---|---|
| MODX.com | 2.1.0-pl | 2011-05-30 (14 years ago) |
| MODX.com | 2.0-rc1 | 2011-02-24 (15 years ago) |
We've also seen 1 unverified versions 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.