Arbitary tokens

Events happening in the community are now at Drupal community events on www.drupal.org.
jredding's picture

In the last two days I whipped up a very quick module that allows you to create arbitrary tokens (i.e. /node/add/token) for use with the token modules. This was primarily created for use with the tokenize module so that through the UI a user could create tokens and select which fields could use those tokens.

The tokens are nodes which could cause some serious performance issues under certain conditions. In our environment there were none (or any anticipated) performance issues as the number of users using the set of modules was low. I used node_load to grab the content of the tokens for replacement which means that the PHP in the token body is executed.

I'll be creating a project page/checking into CVS later this week. I just wanted to post that I created it just in case other were considering doing the same.

Comments

Project posted

-Jacob Redding

Tokens

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week