Tokens
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.
Core token system issues
Token contrib module issues
All issues tagged with 'token'
Dynamic menu for organic groups
I'd like to create a menu with a link that changes automatically when in various different organic groups (6.x website). I looked at menu_token but there are no tokens for a group/nid/gid in 6.x. Is there a way to create a customized token that will work? For example, node/add/blog?gids[]=[token of group ID number]. Thanks.
Drupal 6: Send customized emails to multiple addresses from fields within multiple field groups
I have a multi-step form that is a job application.
On one step the applicant enters information for professional references, and on another, character references. They may add multiple references (field groups) on each page. The field groups for both types of reference include an email field, and a hidden "email sent" field.
At the end of the form, when the applicant submits the form, I wish to send customized emails to each of the references, and populate the "email sent" field with "yes".
Token for friendlist module messaging rule not working for making a link in meaasge.
I had faced a problem in making a link for a particular text on message body, It creates a placeholder for the link on that particular text.
New releases of Pathauto imminent - help us test!
This week we'd like to release a new version of Pathauto for both Drupal 6 and 7. There have been numerous fixes for long-standing bugs with alias generation and internationalization. Oh and a few new features too (mostly in the 6.x-2.x and 7.x-1.x versions). As there have been quite a few changes made, we'd like your help testing either the 6.x-1.x-dev, 6.x-2.x-dev, or 7.x-1.x-dev versions.
Make sure when testing you have the latest development version of Token module downloaded as well.
Below are some of the major changes and bug fixes:
Use page URL as Token
Hi,
I just want to use the URL of the current page as a Token with Views (for ?destination=...)
I've been searching for hours, tried different modules (like tokenSTARTER) but it didn't work.
Help! Why is it that difficult?
Thanks a lot.
P.S. Sorry if using the forum would have been better but I thought I'd better ask the guys who made it...
Tokens and Domain
Hi, I am intensively testing Domain.module and have noticed that in the Modules that Use Token Module the Domain Access module is not listed. It would be interesting to know if there are some issues about or any kind of feedback you may know about, that may be related to the 2 modules installed togheter. Feedback very much appreciate.
new releases of token
It's about time for a new release, right?
If you are on of the people interested in this, please head on over to issues to fix before a 6.x-1.12 Release to help finalize the 2 remaining patches and suggest any issues that you'd like to see fixed prior to the release.
user_pass_reset_url token
I am trying to use the CCK+Rules+Token module to accomplish creation of a user when a content with its email address is being created.
This user should get an email notification with his password and/or a user_pass_reset_url link.
The token_user.inc does not provide password, nor the creation of the user using the rules action.
In addition, the !password of the user_mail_tokens does not apply here.
Any suggestion what should be the right way to solve this ?
Regards,
Shushu
Tokens & RDF in d7 - can they benefit from each other?
Right now there is a issue for getting token into core and one for getting some RDF into it. I wonder if makes sense to base the token patch upon the RDF stuff. So once we have some semantics attached to our objects, we can use them as a starting point for doing the token replacements.
The other way round, the RDF patch could learn from the tokens code - as the actual problem to solve is quite similar. The way the patch in #74 uses simple handlers to get tokens would make sense for RDF too. Then the token implementation can go and build upon that and reuse the handlers returning RDF string literals. Similarly, the approach described in #77 for doing actual token replacements could also be used for getting chunks of RDF for a bunch of objects.
Then apart from avoiding inventing the wheel twice, we could easily make both APIs consistent, so they can be used the same way.
Better token lists
Has anyone come up with a better way of presenting the list of tokens to users? I'm finding that what I'm doing is really ugly and would love to know if anyone has seen any good examples of how to present tokens in a more usable manner.

- 1 of 3
- ››





