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.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.2.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36bd6cbef540ef977d5e354046d73828a71dcd75d9264f53c904589f1062275c |
|
MD5 | 4ffa63c920d2bef1b306f205dc8b0397 |
|
BLAKE2b-256 | 1f24d0bbdd404bbd1d5c6e45f9516d5cda10532a1677a68a582e092f03d04bcd |