Skip to main content

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

https://secure.travis-ci.org/collective/collective.behavior.localdiazo.png?branch=master https://coveralls.io/repos/collective/collective.behavior.localdiazo/badge.png?branch=master

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.

https://raw.github.com/collective/collective.behavior.localdiazo/master/1.png

Add a new object; you will see a new field called ‘Theme’ and select a Diazo theme from the list.

https://raw.github.com/collective/collective.behavior.localdiazo/master/2.png

Now when you access your container you will see the Diazo theme applied to it.

https://raw.github.com/collective/collective.behavior.localdiazo/master/3.png

Troubleshooting

If you followed all the instructions and the theme is not aplied, make sure Diazo theming is enabled on ‘Theme settings’.

https://raw.github.com/collective/collective.behavior.localdiazo/master/4.png

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.

Share and Enjoy

collective.behavior.localdiazo would not have been possible without the contribution of the following people:

  • Juan Pablo Giménez

  • Héctor Velarde

  • Marcos F. Romero

  • David Beitey

You can find an updated list of package contributors on GitHub.

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


Download files

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

Source Distribution

collective.behavior.localdiazo-1.1b1.tar.gz (17.9 kB view hashes)

Uploaded Source

Supported by

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