Plone string interpolation override for URLs, with backend-frontend support
Project description
Take advantage of redturtle.smartlink backend/frontend URLs conversion feature, overriding Plone URLs when sending e-mails using content rules.
Introduction
When using Plone content rules mail action, you can rely on some URL-like variables:
${url}
${absolute_url}
${parent_url}
This product could help your when your Plone site use different URLs for backend (http://admin.yourcompany.com/) and front-end (http://www.yourcompany.com/). Action taken in the backend (for example: a contributor add a new document) could trigger e-mail message where variables above will be replaced by backend URLs.
If e-mail messages are targeted to front-end users, this can be a problem.
This product take advantage of redturtle.smartlink Plone add-on and its backend-frontend transformation feature. Before replacing URL variables, it try to apply Smart Link configuration to them.
Original mappings (that do not use Smart Link configuration) will be still available using new names:
${original_url}
${original_absolute_url}
${original_parent_url}
Credits
Developed with the support of Regione Emilia Romagna; Regione Emilia Romagna supports the PloneGov initiative.
Changelog
0.3 (2013-08-02)
fixed missing overrides.zcml [keul]
0.2 (2013-08-02)
get rid of comments adapters [keul]
original interpolations are now available through new names [keul]
0.1 (2013-07-08)
Initial release
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
Hashes for collective.stringinterp.smartlink-0.3.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2ed087d1dcb81fd15740be2ae29205c35532840d90b497a0d5c0840d7b415aa |
|
MD5 | ccc53960276ac6166a852799a9ce08e2 |
|
BLAKE2b-256 | db83d3f80b49aa58f19f4d81d6f696167793abf6b8a059ab1f2480041d82ce41 |