Usage (in templates)
The add-on injects the global variable $xf.mobileDetect, check that the variable is set before calling any methods to prevent errors during upgrades or if the add-on is disabled.
Usage (in php)
XF2.1 Page caching
The integration mobile detection with XF2.1+ full-page caching, add to the config.php this;
Contributing features or bug fixes
Please create a Github Pull request via the "More information." link.
View attachment 2810