TNT (Token Node Tokens) is a very simplistic module that allows you to create arbitrary tokens without having to create a custom module (i.e. /node/add/token). This was primarily created for use with the tokenize module so that through the UI a user could create tokens for use with CCK.

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 creating tokens and creating nodes 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. This has the unintended side effect of being able to cool replacement stuff with PHP code (use your imagination). However doing a node_load for a large set of node tokens could be performance heavy.

Please treat this module as example code and not as a mature stable module. It is not intended for use on a heavy traffic site nor is it intended as a mature module. I'm willing to field some support requests but for the most part this module is unsupported

Project Information

Downloads