It gives the user the ability to create custom tokens for specific replacements that can improve other modules relying on the Drupal 7 token API or, for Drupal 6, the Token module.

Versions 7.x-1.x and previours relied on PHP evaluation to build custom tokens.

The new 7.x-2.x relies on input filters. While still allowing for PHP tokens through the D7 core PHP filter module, administrators can permit only HTML or plain text custom tokens.

Warning : users that installed the 7.x-1.x-dev snapshot should update to the 7.x-2.x-dev shapshot since the commits containing the new features were moved to 7.x-2.x-dev.

New features in version 7.x-2.x (work in progress)

  • Build tokens using input filters (#1336622)
  • Define custom token types (#1341106)
  • Define add/edit custom token permissions by custom token type
  • Suggestions/patches very welcome !

Versions 7.x-1.x and previous

They are designed for developers with, at least, a little PHP knowledge. Custom tokens will evaluate and execute PHP snippets in order to provide the replacements for the tokens you define.

Dependencies (versions 5.x and 6.x):
Token

Sponsored by (versions 5.x and 6.x):
Infomagnet

Downloads

Recommended releases

Development releases

Version Downloads Date Links
7.x-2.x-dev tar.gz (12.95 KB) | zip (14.63 KB) 2011-Dec-18 Notes

Project Information


Maintainers for Custom Tokens

  • gaspaio - 13 commits
    last: 7 weeks ago, first: 21 weeks ago
  • hanoii - 19 commits
    last: 2 years ago, first: 3 years ago

Issues for Custom Tokens

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 17 Dec 09