Module Description
The main feature Custom Tokens Plus adds is the ability to use arguments (parameter values) on some tokens, in particular those from the Custom Tokens module, which is a dependency. For instance, using Custom Tokens, you may already have a token like this:
[custom:company_logo]
After enabling the Custom Tokens Plus module, you can extend the above token with arguments to specify variants for, say, the logo height and the file to use for the logo image. Like so:
[custom:company_logo{50px,mycomp.jpg}]
[custom:company_logo{100px,mycomp_and_slogan.jpg}]
In addition, Custom Tokens Plus provides, via its submodule Node Link Token, this token:
[node:link{nid}]
Inspired by Link Node (D7) it's an easy way to insert into a piece of content hyperlinks to related pages on your site. You can also override the content title used in the link:
[node:link{456,My new title}]
Finally, this module adds a few convenience functions to the custom tokens list UI, such as configurable sorting behaviour (by type, by name) and a token clone button.
Dependencies: Custom Tokens
Highly recommended (to enter tokens in content areas): Token filter
Initial development and release sponsored by: GreenSoft Australia and Webel IT Australia
[custom:company_logo]
After enabling the Custom Tokens Plus module, you can extend the above token with arguments to specify variants for, say, the logo height and the file to use for the logo image. Like so:
[custom:company_logo{50px,mycomp.jpg}]
[custom:company_logo{100px,mycomp_and_slogan.jpg}]
In addition, Custom Tokens Plus provides, via its submodule Node Link Token, this token:
[node:link{nid}]
Inspired by Link Node (D7) it's an easy way to insert into a piece of content hyperlinks to related pages on your site. You can also override the content title used in the link:
[node:link{456,My new title}]
Finally, this module adds a few convenience functions to the custom tokens list UI, such as configurable sorting behaviour (by type, by name) and a token clone button.
Dependencies: Custom Tokens
Highly recommended (to enter tokens in content areas): Token filter
Initial development and release sponsored by: GreenSoft Australia and Webel IT Australia
Module Link
Project Usage
75
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Custom Tokens Plus module aims to solve the issue of adding arguments to tokens from the Custom Tokens module, allowing for more customization and flexibility in token usage.
Data Name
token_custom_plus