Skip to main content

A product for switching themes in Plone.

Project description

themetweaker.themeswitcher Package ReadMe

A product for switching themes on folders (only IATFolder at the moment) in Plone.

Author: WebLion Group, Penn State University.

Requires plone 3.?.? .
Requires sd.common: (not on pypi) svn co
Requires z3c.unconfigure 1.0.1: (included from
Requires plone.browserlayer 1.0.0: (included from

Installing ThemeSwitcher
sd.common is currently only available from its subversion repository. The subversion location is .

Installing ThemeSwitcher in plone through quickinstaller is not all together necessary. At this point it only gives you an actions tab on your folders. Everything else is zcml declared.

Using ThemeSwitcher
With quickinstaller installation:
Each folder will have a 'ThemeSwitcher' tab that will bring up the switcher form. Here you will be able to choose from a list of installed themes that use browserlayer to register themselves. How do I know if the theme is registered as a browserlayer? Look to see if the theme contains a 'browserlayer.xml' file, if it does, chances are it is registered as a browserlayer.

Without quickinstaller installation:
Same as with installation except, you will need to manually type the switcher form path. e.g. "http://localhost:8080/plonesite/folder1/switcherform", because the actions tabs have not been installed.

Contact WebLion at, or visit our IRC channel: #weblion

Bug reports at

To Do List (for developer)
TODO (pumazi) uninstall of a themeswitcher instance will be difficult since the IThemeSpecific interface will be placed on a bunch of folders... We need something to catalog what has this interface or something that will iterate over everything themeswitcher adapts (ATFolder atm) to check if IThemeSwitcher is provided by that object
TODO (pumazi) write tests for verifying local settings
TODO (catherine-w, pumazi) write documentation
TODO (esteel, pumazi) use gloworm to change viewlet ordering on the subfolder basis [requires that each subfolder have a viewletsettingsstorage (via localconf?)]

0.8.6a2 - Alpha Released

* Added an enable/disable checkbox to the switcher form
* ThemeSwitcher now cleans up after itself (annotations are removed from the object)
* Traverser adapter now adapts IThemeSwitcher rather than IContentish

0.8.6a1 - Alpha Released

* ThemeSwitcher first pypi release.

0.8.6 - Unreleased

* ThemeSwitcher switches by folders rather than URL.

0.8 - Unreleased

* Initial release.

Project details

Download files

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

Source Distribution

themetweaker.themeswitcher-0.8.6a2.tar.gz (15.2 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page