Introduction
This addon register a modified version of detectmobilebrowsers to give a isMobile javascript variable so you can play around with javascript.
version: 18 October 2012 (check the footer of detectmobilebrowsers)
How to install
This addon can be installed has any other addons. please follow official documentation
The javascript is registred in a bundle so you will have to configure your theme to use it this way:
<registry> <record name="Products.ResourceRegistries.interfaces.settings.IResourceRegistriesSettings.resourceBundlesForThemes"> <value> <element key="plonetheme.mytheme"> <element>default</element> <element>detectmobilebrowsers</element> </element> </value> </record> </registry>
Changelog
1.0dev (unreleased)
- Initial release