Welcome
The Token module for Drupal 4.7 and 5 exposes simple text substitution tokens like [title] and [user-name], for use in path generation, mass mailings, and many other situation where admins want to set up text replacement patterns without using PHP snippets. Other modules can expose their own domain-specific replacement tokens (like information about a purchase, or an organic group that a user is a member of) and use Token's centralized replace() function to replace token occurrences in any piece of text.
If you are curious how you might use tokens or who is using it, consider this list of modules that use token
If you want to help get Token into Core then there's the issue. Please don't just subscribe to the issue or you will lose karma points in the eyes of some of Drupal's most respected community members.
Token contrib module issues
Barcelona Event
Following Dries' request for more presentations I decided that Token module would be a good topic:
Token Module: How I Learned To Use the Token API and Stop Re-Implementing Dynamic String Replacement
So, if you are headed to Barcelona and want to learn more about using Tokens, this would be a great session to attend. Similarly, we plan to use some of the time to talk about the "future of tokens" which should hopefully be a useful topic.
Read moreThe future of tokens?
Wow. Pathauto finally made the move!
Token module was conceived when I was writing custom_breadcrumbs and custom_links, and wanted to generate the kind of simple [foo] and [bar] links that had been popularized by Pathauto. I was this close to listing pathauto as a dependency for both modules when I ran into greggles in #drupal and started chatting with him about the need for a centralized 'Just The Tokens' utility that many modules could benefit from.
With the current release of Token module, and the current release of Pathauto, quite a few modules can now plug into "the system."
Read more- ‹‹
- 4 of 4

