Fast Token Browser extends the Token module with a faster and more usable interface for browsing and inserting Tokens. It resolves excessive server-side memory usage and client-side unresponsiveness when using the token browser on sites with many tokens. Due to the magnitude of memory savings, this allows the token browser to work with a very low PHP memory limit, even without needing to constrain the maximum token depth.

These improvements are effected by asynchronously loading the token tree. Instead of building and rendering a table containing every token (up to a maximum depth), this module will at most build a single level for a single token at a time, and only when requested. This vastly improves both server- and client-side performance.

You do not need Token Tweaks if you install this module, though having both installed will not cause any conflicts.

Usage

This module is a drop-in replacement to the default browser provided by Token. However, the mechanics of inserting a token work a little differnetly. Instead of clicking in a text field then clicking a token to insert, first click the token, then click in a text field where it will be inserted. This is designed to provide for better keyboard accessibility in a future release.

Dependencies

  • Token

Installation

Add the module to your site and enable it. There is no configuration.

Uninstallation

Disable, uninstall the module, and remove the module files. This module makes no changes to the database or other configuration, so you can safely remove it at any time. The default behavior of the Token module will be restored automatically after clearing the site cache.

Supporting organizations: 

Project information

Releases