Two ideas here:

1) Provide a separate help page that lists the tokens and on that page have a filter system so people can put in "node" and some other characteristics and then get back a list of tokens.

2) When users type in the pattern give them suggestions of tokens to use the way autocomplete works. Idealy these suggestions would be contextually appropriate - i.e. for pathauto they would only include the -raw tokens and would be limited to tokens in the "node+global" space.

Comments

dave reid’s picture

Title: make tokens easier to search/add to patterns » Make tokens easier to search/add (autocompletion/drilldown)
Project: Pathauto » Token
Version: 7.x-1.x-dev » 6.x-1.x-dev
Component: Code » User interface

I think we should fix this in token.module (and its D7 UI port) so its available for all modules. :)

dave reid’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

Moving to the 7.x-1.x version. :)

MGN’s picture

A similar idea was recently suggested in the custom breadcrumbs issue queue. See #708794: Token demonstration. I like the idea of doing this in token in such a way that other modules can make use of it.

dave reid’s picture

Assigned: Unassigned » dave reid