GenericSetup profiles for plone.app.theming
collective.themesitesetup is a plugin for plone.app.theming. With this plugin it’s possible to embed automatically imported generic setup profiles into a zipped theme package: one to be imported when theme is activated from the theming control panel, and the other one to be imported when theme is deactivated (as so called uninstall profile).
Once this plugin is included into your Plone site (e.g. including it into the buildout eggs list and running the buildout), the plugin is enabled for the theme by adding the following line into its manifest.cfg:
By default the plugin looks the profile imported during activation from a theme sub-directory called install and the profile imported during deactivation from a sub-directory called uninstall. The default lookup directories can be customized in manifest.cfg:
[theme:genericsetup] install = my-install uninstall = my-uninstall
The site setup import can also be disable whenever required by adding the line disabled = true into the plugin configuration in manifest.cfg:
[theme:genericsetup] disabled = true ...
The importable profile can be edited TTW through the theme editor:
Note: Because the theme editor hides all dotfiles, files starting with a dot must be renamed to end with .dotfile (and to not start with a dot).
Export and import forms
This plugin also provides a helper forms for exporting the current site setup into a through-the-web created (editable) theme and importing the site setup steps from the theme folder.
The site setup export form can be reached by adding @@export-site-setup after the theme resource directory URL, e.g. http://localhost:8080/Plone/++theme++my-theme/@@export-site-setup:
The site setup import form can be reached by adding @@import-site-setup after the theme resource directory URL, e.g. http://localhost:8080/Plone/++theme++my-theme/@@export-site-setup.
The import form should be especially useful for testing the import and performing manual site setup upgrades by importing only the updates step or a special upgrade profile directory.
- Update README [datakurre]
- Add site setup import view to allow testing manual upgrading of site setups [datakurre]
- Add option to disable setup steps import via plugin configuration variable in theme manifest (either with ‘enabled = false’ or ‘disabled = true’) [datakurre]
- Add GS content export support to include non-CMF-containers marked with collective.themesitesetup.interfaces.IGenericSetupExportableContainer [datakurre]
- Add GS content export/import to support non-CMF-containers, PythonScripts and PageTemplates. [datakurre]
- First release.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size collective.themesitesetup-0.11.1.tar.gz (15.9 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for collective.themesitesetup-0.11.1.tar.gz