Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Use tokens to pull in tokenized text, which is rendered in the same context.

This module has a very simple purpose to match it's simple code:
There are some contexts which are built up in the admin interface (Rules comes to mind), in which we want to pull in user-supplied content (in my case, the body of an email). A great feature would be to allow the user-generated content to support tokens in the same context in which it is used.

An example:

I have a site which sends HTML emails based on a number of different criteria during a cron task.
The format of this email should be user (admin) determined and content manageable.
The Admin should be able to use tokens like [current-recipient:name] or similar in their template (which is a simple content type).
I use Rules to build the dynamic context, and I use tokens to draw in this template.
*this is where this module comes in*.
This module allows any content which is rendered via tokens to contain tokens of it's own, and they are interpreted in the same context.

Project information