plone.app.stagingbehavior 1.0 Beta 4

Provides a behavior for using plone.app.iterate with dexterity content types
plone.app.stagingbehavior is a Plone product used for enabling the plone.app.iterate functionality for Dexterity content. It allows you to perform the checkout and checkin operations to work on a copy of your original content.

Usage:

Just use the behavior plone.app.stagingbehavior.interfaces.IStagingSupport in your Dexterity content-type.

In your profiles/default/types/YOURTYPE.xml add the behavior:

< ?xml version="1.0"? >
< object name="example.conference.presenter" meta_type="Dexterity FTI"
 i18n:domain="example.conference" xmlns:i18n="http://xml.zope.org/namespaces/i18n" >

 < !-- enabled behaviors -- >
 < property name="behaviors" >
 < element value="plone.app.stagingbehavior.interfaces.IStagingSupport" / >
 < /property >

< /object >


The IStagingSupport behavior just adds the refered staging support to your content-type, but it does not enable it.

You have to set the "versioning" option in the Plone types control panel (/@@types-controlpanel) to either "Manual" or "Automatic" for activating versioning.

More Information

For more information about how the staging works see the documentation of plone.app.iterate and Products.CMFEdtitions:

 * http://pypi.python.org/pypi/plone.app.iterate
 * http://pypi.python.org/pypi/Products.CMFEditions

last updated on:
August 24th, 2012, 23:55 GMT
price:
FREE!
developed by:
Jonas Baumann
homepage:
plone.org
license type:
GPL (GNU General Public License) 
category:
ROOT \ Internet \ Plone Extensions

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

What's New in This Release:
  • Do not display locked message to anonymous users [mattvoss]
  • Copy annotations from working copy to baseline checkin. [frapell, jone]
  • Fix KeyError when accessing previously checked in content through Acquisition wrapper http://code.google.com/p/dexterity/issues/detail?id=270 [anthonygerrard]
  • Hide the 'locked' status message if user is anonymous [mattvoss]
read full changelog

Add your review!

SUBMIT