Seems like based on http://petermoulding.com/token_ex that this module is very similar to an existing full project Custom tokens. Maybe you could clarify in the project page how this module differs from Custom tokens? Or if you haven't heard of it before, maybe it would be good if you could join forces with it!

Comments

peterx’s picture

Hello David, I can see how the new version 2 of Custom tokens could replace Token ex. Version two lets you prevent the use of PHP through filters, something I do in some versions of Token ex with permissions. I will look at the current usage of Token ex and compare it to Custom tokens.

Token ex and Token if are aimed at extending the Token module in ways that can be added to the existing token module, as a possible future enhancement to the Token core module, not an add-on. The other target for Token ex is an enhancement to the site configuration page, as an extra extendible area at the bottom of the page, with an API to let other modules add the extension to their configuration pages.

dave reid’s picture

Yeah the 1.x version of Custom tokens lets you use PHP just fine. I would still highly encourage you to check out Custom tokens more and cooperate and coordinate with that module by providing patches in its issue queue for feature requests or improvements you think it could make. Having two very similar modules that don't really have at least a few important features distinguishing them apart is bad for our end users.

peterx’s picture

Performance:
Token ex uses the Drupal variable system and fits the requirement for a few tokens used everywhere with little additional overhead. Token custom creates a new table, a nuisance for people already managing a thousand tables as a result of fields, but if coded right would reduce overheads for instances where a site has hundreds of tokens that are rarely used.

None of the sites using Token ex fit the Token custom performance model. Most fit the Token ex performance model. For a small number, the result would be the same.

Project: » Lost & found issues

This issue’s project has disappeared. Most likely, it was a sandbox project, which can be deleted by its maintainer. See the Lost & found issues project page for more details. (The missing project ID was 1504138)