Search code examples
drupaldrupal-6

How can I use tokens in node-pages in Drupal?


I know that tokens (token module) can be used to fill in tokens.

But for my articles (of node type page) how can I use tokens so that my site's name etc. can replaced automatically?


Solution

  • Check out the Token Filter module. It will allow you to use tokens within your node body field.

    From the module page:

    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.

    For instructions on using this module, see the README.txt