Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.

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
Release History

Release History

This version
History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.stringinterp.smartlink-0.3.zip (21.6 kB) Copy SHA256 Checksum SHA256 Source Aug 2, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting