Token Filter
Installs:
10,319
Open Bugs:
7
Development Status:
Seeking co-maintainer(s)
Maintenance fixes only
Token Filter is a very simple module to make token values available as an input filter.
Drupal 7
The module now supports native tokens (e.g. [site:name]
) and all global tokens by default. It even allows some contextual tokens like node or user to be replaced, but currently does not encourage users to use them in the filter help text.
Drupal 6 and 5
- In the text where you use that input filter you can use substitution tokens with
[token global site-name]
etc. You can use the global context, the user context and any custom context available. You need to enable the Token Filter for any of your existing filter types first. - At present, the node context is not available. See #474424: Code doesn't verify the value entered by the user, and calls token_replace() with the wrong arguments
The Drupal 5 version only replaces tokens of type global and user.
Credits
The Drupal 6 version of this project has been sponsored by Nuvole and Youth Agora.
Releases:
7.x-1.1
6.x-1.0
7.x-1.x-dev
6.x-1.x-dev
Release Dates:
01/04/2012
09/04/2009
10/19/2013
10/19/2013