collective.behavior.localdiazo

Dexterity behavior to enable a local Diazo theme.


Keywords
plone, registry, local, behavior, dexterity, diazo
License
GPL-2.0
Install
pip install collective.behavior.localdiazo==1.1b1

Documentation

collective.behavior.localdiazo

Table of Contents

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

image

image

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:

  1. Edit your buildout.cfg and add collective.behavior.localdiazo to the list of eggs to install:

    [buildout]
    ...
    eggs =
        collective.behavior.localdiazo
  2. 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.