You are here

README.txt in Token Filter 5

Same filename and directory in other branches
  1. 8 README.txt
  2. 6.2 README.txt
  3. 6 README.txt
  4. 7 README.txt
Token Filter
-----------

This is a very simple module to make token values available as an input filter.

This initial development version only works for global and user token types.

Installation:

1) Enable the module
2) Go to /admin/settings/filters and enable the token_filter for any of your existing filter type or if you wish, create a new one.

Then in the text where you use that input filter you can use substitution tokens with

[token global site-name] etc.

Tokens typically available are:

global:
-------
user-name
user-id
user-mail
site-url
site-name
site-slogan
site-mail
site-date

user:
-----
user
user-raw
uid
mail
reg-date
reg-since
log-date
log-since
date-in-tz
account-url
account-edit

File

README.txt
View source
  1. Token Filter
  2. -----------
  3. This is a very simple module to make token values available as an input filter.
  4. This initial development version only works for global and user token types.
  5. Installation:
  6. 1) Enable the module
  7. 2) Go to /admin/settings/filters and enable the token_filter for any of your existing filter type or if you wish, create a new one.
  8. Then in the text where you use that input filter you can use substitution tokens with
  9. [token global site-name] etc.
  10. Tokens typically available are:
  11. global:
  12. -------
  13. user-name
  14. user-id
  15. user-mail
  16. site-url
  17. site-name
  18. site-slogan
  19. site-mail
  20. site-date
  21. user:
  22. -----
  23. user
  24. user-raw
  25. uid
  26. mail
  27. reg-date
  28. reg-since
  29. log-date
  30. log-since
  31. date-in-tz
  32. account-url
  33. account-edit