How to use the Custom Tokens module
Steps to start using the Custom Tokens module:
Comment author name as link
Use the following PHP code in a custom token to display the comment author's name as a link to either their homepage or their user profile.
Creating a token for a specific term
This snippet allows you to use it on pathauto URL aliases in order to be replaced with one term of a specific vocabulary.
Current Node Email field token
setup token
Custom Token using part of url
This is a custom token that is almost the same as the Very Basic Custom Token, so I will not repeat the information from that page. Please
Taxonomy Term Path
If you want to save files attached to a node inside a special file structure you can use this snippet with the filefield_paths module.
Using Custom Tokens module to generate an array of email addresses
I had a need to create a list of email addresses from user accounts that belonged to a role. Of course, this had to be done in a
Very Basic Custom Token
Do you need to create the most basic of tokens? Do you need to be able to create a token that perhaps outputs just a single phrase or a
Very Basic Custom Token with Domain Access
Here is a simple way to create a custom token that you can use with Domain Access. In this case there are only 2 domains, but you could