as per http://drupal.org/node/307140

you should ad this code as one of the items in hook_menu() Just handy to know what tokens are available

//Available Tokens
  
  if (module_exists('token')) {
    $form['view']['token_help'] = array(
      '#title' => t('Replacement patterns'),
      '#type' => 'fieldset',
      '#collapsible' => TRUE,
      '#collapsed' => TRUE,
//      '#description' => t('Prefer raw-text replacements for text to avoid problems with HTML entities!'),
      );

    $form['view']['token_help']['help'] = array(
      '#value' => theme('token_help', 'node'),
      );
  }

Comments

Glowingtree’s picture

Status: Active » Closed (fixed)

ok nevermind, it was already there...

oooops (embaressed)