Skip to main content

Add detectmobilebrowsers script to plone resource registry

Project description

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>

Credits

People

Changelog

1.0dev (unreleased)

  • Initial release

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for collective.js.detectmobilebrowsers, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size collective.js.detectmobilebrowsers-1.0.zip (19.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page