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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

longwave’s picture

Also 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.

longwave’s picture

Status: Active » Needs review
FileSize
3.61 KB

Attached 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)

Island Usurper’s picture

FileSize
6.73 KB

I 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.

longwave’s picture

Status: Needs review » Fixed

Committed #3.

longwave’s picture

Also added Token as a recommended module on the project page.

Dave Reid’s picture

FYI you don't need to manually specify 'site' as a listed token type as it's a global token and will be listed automatically.

Status: Fixed » Closed (fixed)

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