
MobileDetect
Device type detection in MODX and different content on a single page


MobileDetect ships one snippet for conditional output without Fenom.
| Snippet | Purpose |
|---|---|
| MobileDetect | Compare current device type with &input |
| Situation | Recommendation |
|---|---|
| Templates via pdoTools/Fenom | Fenom modifier | mobiledetect or {mobile} blocks |
| Regular MODX templates without Fenom | Snippet [[!MobileDetect]] |
| Cached page, simple markup | HTML tags <standard> / <mobile> |
Details: Integration.