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.
This addon can be installed has any other addons, please follow official documentation.
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.
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>