[Zope-CMF] delayed publishing of content

Tres Seaver tseaver@zope.com
Sun, 26 Aug 2001 08:47:37 -0400


Norman Khine wrote:

> I think you can do this by filling the full_metadata_edit_form, from the
> metadata by adding an Effective Date. You can also add an Expiration Date.
> 
> So you can approve it, but it will not be published until the Effective
> Date.

You could skin the 'content_publish_form' and 'content_status_modify'

methods to allow passing the effective and expiration dates as part
of the workflow, as well.  In 'content_status_modify', you would
call 'context.setEffectiveDate', in addition to the workflow method.


-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com