Skip to main content

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.

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 (2014-07-01)

  • Added GenericSetup import/export profiles.

0.1 (2014-06-04)

  • Package created using templer []

Project details

Download files

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

Files for zettwerk.mobiletheming, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size (32.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page