UNKNOWN
Project description
Introduction
This package makes Products.CMFEditions works with Dexterity content types.
In general CMFEditions works ok with Dexterity. The only problem is the versions_history_form template: it does not show the older versions for Dexterity content items. Also, it may break if the custom content type does not use the default view auto-generated by Dexterity.
This package solve this problem by overriding versions_history_form.
Installation
The usual: add this package to the buildout and install the Generic Setup profile in the Plone Site.
Extension/customization points
To make the versions_history_form template work with Dexterity content types some views were created. These can be overriden to customize the way older versions of a content type are displayed:
@@download-version: Downloads an older version of a file stored in a plone.namedfile field.
@@content-core: Render only the content-core div of the default view of a content item.
@@version-view: Same as @@content-core but makes links to file downloads use the @@download-version view.
Changelog
0.1b2 (2011-07-13)
Fixed tests.
0.1b1 (2011-07-12)
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.cmfeditionsdexteritycompat-0.1b2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5abb00ada87bb36c556654310d18b21804a01d2ebcd90cc8e7a2011afb95fa05 |
|
MD5 | 58345fd0da1c5c58eee00cf04a2e159a |
|
BLAKE2b-256 | 277ed38440184e217e6ca18ca6229e79bb1c8c67c7b6c4eb6372d029777901bd |