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.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.
============
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.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
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
collective.wfcomment-2.0.2.zip
(83.8 kB
view details)
File details
Details for the file collective.wfcomment-2.0.2.zip
.
File metadata
- Download URL: collective.wfcomment-2.0.2.zip
- Upload date:
- Size: 83.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 819b9d92dcf1fecad1fe8b487332c666c921ef32897530a2f01c2c78c4707d74 |
|
MD5 | b7da39f2d4b3f0633d86a03f47c18f52 |
|
BLAKE2b-256 | 52e11765f37945825231501665028d829f25a14a52e41b167d2f5b1dc5a12089 |