You are here: Home Plone Hacks in the source code Change e-mail text of rules
Search
Advanced Search…
E-Mail

Webmail: webmail.wyden.com

E-Mail Preferences: postfix.wyden.com/users

E-Mail Administration: postfix.wyden.com

Statistics
Total: 463
Total Pages: 284
Total Folders: 87
Total Files: 18
Total Links: 26
Last modification: 03.02.2012 16:00
 

Change e-mail text of rules

by Wyden Silvan last modified 11.01.2010 18:52

/usr/local/Plone/buildout-cache/eggs/plone.app.contentrules-1.1.5-py2.4.egg/plone/app/contentrules/actions/mail.py

class MailActionExecutor(object):

...

        #hack of wysi1 2009/11/28
        event_url_wc = event_url.replace("copy_of_", "")
        message = self.element.message.replace("${url_wc}", event_url_wc)
        message = message.replace("${url}", event_url)

...