Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The token help page in D7 is blank, because there is no simple method to list available tokens (see http://drupal.org/documentation/modules/token/update/6/7)
Proposal: remove this page, and if token.module is installed, add theme('token_tree', ...) somewhere on the forms that use tokens.
Comment | File | Size | Author |
---|---|---|---|
#3 | 1062852_token_help.patch | 6.73 KB | Island Usurper |
#2 | 1062852-store-help.patch | 3.61 KB | longwave |
Comments
Comment #1
longwaveAlso noticed the main "store help" page with links to ubercart.org is inaccessible unless you are using admin_menu, as /admin/store doesn't actually contain a link to it.
Comment #2
longwaveAttached patch drops the token help page and moves the main help page to the Store section (using hook_help, so the Help module must be enabled)
Comment #3
Island Usurper CreditAttribution: Island Usurper commentedI like the idea of putting theme('token_tree') on the settings forms. People are going to need some kind of hint about what they can put in those messages, especially if they are new users.
Comment #4
longwaveCommitted #3.
Comment #5
longwaveAlso added Token as a recommended module on the project page.
Comment #6
Dave ReidFYI you don't need to manually specify 'site' as a listed token type as it's a global token and will be listed automatically.