Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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
Release History

Release History

This version
History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.js.detectmobilebrowsers-1.0.zip (19.9 kB) Copy SHA256 Checksum SHA256 Source Mar 28, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting