Arbitary tokens

jredding's picture
public
group: Tokens
jredding - Sat, 2007-12-01 18:39

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.


Project posted

jredding's picture
jredding - Wed, 2008-01-02 12:51