Dexterity behavior to enable a local Diazo theme.
Project description
Life, the Universe, and Everything
Dexterity behavior to enable a local Diazo theme. This package aims to make easier the creation of microsites on big web sites.
Mostly Harmless
Got an idea? Found a bug? Let us know by opening a support ticket.
Don’t Panic
Installation
To enable this product in a buildout-based installation:
Edit your buildout.cfg and add collective.behavior.localdiazo to the list of eggs to install:
[buildout] ... eggs = collective.behavior.localdiazo
If you are using Plone 4.2.x you need to add the following also:
[versions] ... plone.app.theming = 1.1.1
After updating the configuration you need to run ‘’bin/buildout’’, which will take care of updating your system.
Usage
In Plone’s control panel go to ‘Dexterity Content Types’, select your content type, go to the ‘Behaviors’ tab and enable the ‘Local registry’ and ‘Local Diazo theme’ behaviors.
Add a new object; you will see a new field called ‘Theme’ and select a Diazo theme from the list.
Now when you access your container you will see the Diazo theme applied to it.
Troubleshooting
If you followed all the instructions and the theme is not aplied, make sure Diazo theming is enabled on ‘Theme settings’.
Not entirely unlike
You may also want to take a look on the following packages:
- collective.lineage
Lineage is a Plone product that allows subfolders of a Plone site to appear as autonomous Plone sites to the everyday user.
- collective.spaces
collective.spaces is a simple way of creating mini-sites within the Plone CMS, with each mini-site based on a fully-customisable template.
Changelog
There’s a frood who really knows where his towel is
1.1b1 (2017-10-26)
Remove dependency on five.grok. [rodfersou]
Drop support of Plone 4.2 and Python 2.6. [rodfersou]
1.0b3 (2013-11-08)
Fix issue preventing setting theme on virtual hosted sites and directories. [davidjb, ericof]
Add translatable string for theme field description. [davidjb]
1.0b2 (2013-08-15)
Removes Template option from theme drop-down (closes #1). [marcosfromero]
Allows to select `No theme` (new empty option) and effectively removes local diazo template (closes #2). [marcosfromero]
Fix i18n and add Spanish and Brazilian Portuguese translations. [hvelarde]
Support for Plone 4.1 was dropped. [hvelarde]
Update package documentation. [hvelarde]
1.0b1 (2013-04-21)
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collective.behavior.localdiazo-1.1b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a0dc0704aa5e31a30d1577595b6f9a7c03ecc3336ad402878ab6d366f10e4f2 |
|
MD5 | b4f31735580b74d65acf536905e3ab49 |
|
BLAKE2b-256 | cdb0bf9032323716a8b7ba6ac728f23e57ee4f5f8e901a13da5833dbb6010033 |