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.1.1 (2012-07-29)
------------------

- Full jquery: kss behaviours entirely replaced.
Fixes under 4.1.x
[thomasdesvenain]

2.0.2 (2011-05-02)
------------------

- controlpanel: hide transition selection if 'all transitions' option is selected.
[thomasdesvenain]

- fix when 'all transitions' option is selected.
[thomasdesvenain]

- fix plone.app.registry dependency
[toutpt]


2.0.1 (2011-05-02)
------------------

- Fixed profile.


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.

Source Distribution

collective.wfcomment-2.1.1.zip (84.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page