Skip to main content

Collective carousel behaviour

Project description

Introduction

This package provides the ability to assign carousel information to Dexterity-based (plone.app.dexterity) content types within Plone and does so using collective.carousel.

By applying the behaviour from this package to a Dexterity content type, a Carousel field becomes available when creating or editing said content.

Found a bug? Please, use the issue tracker.

Installation

This addon can be installed has any other addons, please follow official documentation.

Usage

Through the web

If you are configuring your Dexterity-based type through the web-based interface, then proceed to edit your content type in the Dexterity Content Types control panel. Under the Behaviours tab you will find the Collective Carousel Behaviour behaviour – select this and save your content type.

Upon adding or editing an object of your content type, you will see the new field accordingly.

Generic Setup (file system)

If you’ve created a file-system Dexterity type configuration, you need to specify the relevant interface as a behaviour:

collective.carouselbehaviour.collectivecarouselbehaviour.ICollectiveCarouselBehaviour

and import or re-import your type configuration. As an example, a type configuration at ${product_dir}/profiles/default/types/my.datatype.xml would look like this:

<?xml version="1.0"?>
<object name="my.datatype"
    meta_type="Dexterity FTI"
    xmlns:i18n="http://xml.zope.org/namespaces/i18n"
    i18n:domain="tdh.metadata">
    ...
    <property name="behaviors">
        <element value="collective.carouselbehaviour.collectivecarouselbehaviour.ICollectiveCarouselBehaviour"/>
    </property>
    ...
</object>

Changelog

0.1 (2013-11-02)

  • Added functionality and documentation [bogdangi]

  • Initial release [bogdangi]

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

collective.carouselbehaviour-0.1.zip (28.4 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