Skip to main content

zettwerk.mobiletheming

Switching mobile themes based on urls

Usage

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 zettwerk.mobile theme: https://www.youtube.com/watch?v=Q2ID86XkiQQ

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 zettwerk.mobile:

<?xml version="1.0"?>
<settings>
  <themename>zettwerk.mobile</themename>
  <hostnames>
    <element>http://localhost:8080</element>
  </hostnames>
  <ipad>False</ipad>
  <tablets>False</tablets>
</settings>

Contributors

  • Jörg Kubaile

  • Espen Moe-Nilssen

Changelog

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

Metadata

Release files for zettwerk.mobiletheming 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zettwerk.mobiletheming 0.2.1
File Size Uploaded Provenance Actions
zettwerk.mobiletheming-0.2.1.zip 32.6 kB Without provenance Details for zettwerk.mobiletheming-0.2.1.zip

Release files / zettwerk.mobiletheming-0.2.1.zip

Download URL zettwerk.mobiletheming-0.2.1.zip
Size 32.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6fca1ed7f246cd3846cb66e147bf2f0d10525676774f8e0df66e82049215e1ba
BLAKE2b-256 checksum
How to use checksums
1a9523a5dd7d4d1aaf5a1ca19ced0268cbf8d11143a44af9b23bdc36e42f647b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for zettwerk.mobiletheming 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page