Skip to main content

GenericSetup profiles for plone.app.theming

Project description

collective.themesitesetup

https://secure.travis-ci.org/datakurre/collective.themesitesetup.png

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).

Note: Due to regression in plone.app.theming, this package will work only when a fixing pull for it is accepted and new version released (1, 2, 3):

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:

[theme:genericsetup]

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 importable profile can be edited TTW through the theme editor:

https://raw.githubusercontent.com/collective/collective.themesitesetup/master/docs/images/edit-site-setup.png

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).

This plugin also provides a helper form for exporting the current site setup into a through-the-web created (editable) theme. The helper 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:

https://raw.githubusercontent.com/collective/collective.themesitesetup/master/docs/images/export-site-setup.png

Changelog

0.10.0 (2015-04-03)

  • 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]

0.9.0 (2015-04-01)

  • First 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

collective.themesitesetup-0.10.0.tar.gz (13.8 kB view details)

Uploaded Source

File details

Details for the file collective.themesitesetup-0.10.0.tar.gz.

File metadata

File hashes

Hashes for collective.themesitesetup-0.10.0.tar.gz
Algorithm Hash digest
SHA256 47da4bd6710fa2e6039f5a56b920fdabb76a07029a9c614fa431b2f626839aae
MD5 4d65f66fa200b90268321e28b263d6fb
BLAKE2b-256 07aacd51fbd5eee495e5011248245146ca3a7161d9d2044f021e7dcc418b27a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page