Adds a 'Mailing' tab to selected content types that allows to select users that have a role on the content and send them a wysiwyg composed email. By Ecreall.
Project description
Introduction
Provides a “Mailing” tab on selected content types. It provides a ‘send email’ form where you can select recipients from the list of members having a local role on the content.
Content types have just to implement ISendToAvailable.
In your policy product :
Add ‘collective.local.sendto’ to the ‘install_requires’ parameter of setup.py
Add to the configure.zcml:
<include package="collective.local.sendto" /> <class class="my.package.content.MyContent.MyContent"> <implements interface="collective.local.sendto.interfaces.ISendToAvailable" /> </class>
Roles whose you can select users as recipients are set by a site property : sendToRecipientRoles.
COMPATIBILITY
Plone 4.0, Plone 4.1 Wisywig behaviour needs Products.TinyMCE >= 1.0
Changelog
1.1.1 (2012-12-05)
Fix: works with C security implementation. [thomasdesvenain]
1.1 (2012-12-05)
Use global roles. [thomasdesvenain]
Filter roles on those which can view content. [thomasdesvenain]
1.0.0 (2011-04-06)
Initial release. [thomasdesvenain]
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
Hashes for collective.local.sendto-1.1.1.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87137251ba862660168064ae1ace8d07f215e12d261f8074a8ddb7ef14fb2606 |
|
MD5 | 9b2ac0ef06c15b213ccd898956fb464c |
|
BLAKE2b-256 | 3cfcbcc75000ee8432820a7ceddd7990c8e3e5be67991bf84809b4093f5e6d05 |