Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

0.3

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
collective.stringinterp.smartlink-0.3.zip (21.6 kB) Copy SHA256 hash SHA256 Source None Aug 2, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page