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

Switching mobile themes based on urls in plone.

Project Description


Switching mobile themes based on urls


Install zettwerk.mobiletheming via quickinstaller. A new control panel entry makes it possible to change settings.

Enter the hostnames on which the mobile theme should be applied. Choose the diazo theme to use for selected URL.

There is also some settings for “redirecting urls”, it works like this:

  1. A javascript is installed in portal_javascript
  2. This javascript redirects urls to the url set in the control panel.
  3. Redirects works for mobile devices.
  4. You can choose if you want to redirect iPads and tablets, too.
  5. There is a setting

See this example with the theme:

Generic Setup

This product also provides a GenericSetup extension for integrators to set these settings via a xml profile file. Place the file “mobiletheming.xml” in your (default) generic setup profile and change it as you need. You can also export your current settings via portal_setup -> Export. The export step is called “Mobiletheming Settings”.

Example content, taken from

<?xml version="1.0"?>


  • Jörg Kubaile
  • Espen Moe-Nilssen


0.2.1 (2014-11-21)

  • Added ‘redirect to full url’ [espenmn]

0.2 (2014-07-01)

  • Added GenericSetup import/export profiles.

0.1 (2014-06-04)

  • Initial version

Release History

This version
History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(32.6 kB) Copy SHA256 Hash SHA256
Source None Nov 21, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate