Skip to main content

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.

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.stringinterp.smartlink-0.3.zip (21.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page