--- primary_term.module 2008-09-15 10:14:57.000000000 -0400 +++ primary_term.module 2009-09-23 14:54:25.000000000 -0400 @@ -156,6 +156,7 @@ function primary_term_token_list($type = if ($type == 'node' || $type == 'all') { $tokens['node']['primary-term'] = t('Name of primary term'); $tokens['node']['primary-term-id'] = t('ID of primary term'); + $tokens['node']['primary-termpath-raw'] = t('Full Path to Primary Term'); return $tokens; } } @@ -168,6 +169,7 @@ function primary_term_token_values($type $term = taxonomy_get_term($node->primaryterm); $values['primary-term'] = check_plain($term->name); $values['primary-term-id'] = $term->tid; + $values['primary-termpath-raw'] = drupal_get_path_alias(taxonomy_term_path($term)); } break; }