Plone Captchas (2.0.0)
- Plone Captchas download link: http://plone.org/products/plone-captchas/releases
- Homepage of Plone Captchas: http://quintagroup.com/services/plone-development/products/plone-captchas
- Plone Captchas repository: http://projects.quintagroup.com/products/browser/qPloneCaptchas
- Description source: http://pypi.python.org/pypi/quintagroup.plonecaptchas
qPloneCaptchas is simple captchas implementation for Plone, designed for validation human input in insecure forms. This is standalone implementation with static captcha images, which does not depend on captchas.net services.
Starting from version 1.0 dynamic captchas option implemented. You can switch captchas into dynamic mode in correspondent configlet. In this case captcha images will be generated on the fly.
Usage
Plugs to:
- default Plone discussion mechanism
- PloneFormMailer anonymous contact forms
Installation
If qPloneCaptchas is expected to be used with PloneFormMailer
please make sure that qPloneCaptchas installed only
after the product.
Integration with custom forms
Please refer to discussion or PloneFormMailer integration code in corespondent skin layer.
- insert captchas macro in your form like:
<div metal:use-macro="here/captcha_widget/macros/captcha"></div>
- add captcha_validator to the list of validators of your
form submitting controller python script like:
[validators] validators=captcha_validator








more elaborate instructions on where to change stuff
contact-info.cpt.metadata contains the [validators] values
contact-info.cpt contains the actual template where you should add the HTML block
/var/lib/zope2.9/instance/plone-site/Products/CMFPlone/skins/plone_templates
is the folder where I found that on my:
Plone 2.5.1, CMF-1.6.2, Zope (Zope 2.9.6-final, python 2.4.4, linux2), Five 1.3.8, Python 2.4.4 (#2, Apr 5 2007, 18:43:10) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)],
hope this helps someone else