I'm using token_insert in conjunction with token_custom and token_filter to allow users to create custom tokens and insert them in text. I found it inconvenient to have to enable a new token for insertion each time one is created. Will attach a patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

acrollet’s picture

Status: Active » Needs review
FileSize
3.71 KB

Attached patch adds a 'all tokens' checkbox per category, and hides the individual tokens when checked.

Jelle_S’s picture

Status: Needs review » Fixed

Thanks for the great patch! committed to latest dev

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

John Franklin’s picture

Issue summary: View changes

Is it possible to enable for all tokens in all categories, or do I have to enable it in each category manually?

delacosta456’s picture

Hi
Please is it possible to have token listed as a select list box please?