Posted by pvhee on December 23, 2008 at 9:38am
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.
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Seeking co-maintainer(s)
- Development status: Maintenance fixes only
- Reported installs: 3149 sites currently report using this module. View usage statistics.
- Last modified: October 6, 2011