Skip to main content

Add a prompt on selected workflow transitions for the user to enter a comment

Project description

Introduction
============

This package installs a JavaScript handler (using jQuery) that will present
a prompt box inviting the user to enter a comment before triggering a workflow
transition from the 'state' drop-down in a standard Plone site.

The handler will only be used for workflow actions using the standard
`content_status_modify` script.

You can restrict this behaviour on some transitions through a control panel.

You can make the comment required or not.

Requirements
------------

- Plone 4.0+ (tested under Plone 4.0 and 4.1).
- Tested with ie6, ie7, ff3, ff4, chrome.

Languages
---------

- English
- French

Credits
-------

* Martin Aspeli, release 1.0

* Vincent Fretin and Thomas Desvenain, release 2.0
Changelog
=========

2.0 (2011-04-28)
----------------

Complete rewrite :

* uses ajax internationalized form,
* allows to select a list of transitions,
* kss compliant.
[vincentfretin, thomasdesvenain]


1.0b2 - 2009-08-31
------------------

* Fix 'undefined' error in IE.

1.0b1 - 2009-03-19
------------------

* Initial release


collective.wfcomment Installation
---------------------------------

To install collective.wfcomment into the global Python environment (or a workingenv),
using a traditional Zope 2 instance, you can do this:

* When you're reading this you have probably already run
``easy_install collective.wfcomment``. Find out how to install setuptools
(and EasyInstall) here:
http://peak.telecommunity.com/DevCenter/EasyInstall

* Create a file called ``collective.wfcomment-configure.zcml`` in the
``/path/to/instance/etc/package-includes`` directory. The file
should only contain this::

<include package="collective.wfcomment" />


Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance
recipe to manage your project, you can do this:

* Add ``collective.wfcomment`` to the list of eggs to install, e.g.:

[buildout]
...
eggs =
...
collective.wfcomment

* Tell the plone.recipe.zope2instance recipe to install a ZCML slug:

[instance]
recipe = plone.recipe.zope2instance
...
zcml =
collective.wfcomment

* Re-run buildout, e.g. with:

$ ./bin/buildout

You can skip the ZCML slug if you are going to explicitly include the package
from another package's configure.zcml file.

Project details


Download files

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

Files for collective.wfcomment, version 2.0
Filename, size File type Python version Upload date Hashes
Filename, size collective.wfcomment-2.0.zip (79.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page