--- relativity.module 2009-11-06 14:20:44.000000000 -0600 +++ relativity_new.module 2009-11-06 14:05:41.000000000 -0600 @@ -1386,6 +1386,7 @@ function relativity_token_values($type, $tokens['parent-menu'] = ''; $tokens['parent-menupath'] = ''; } + $tokens['parent-urlalias'] = (isset($parent->path)) ? $parent->path : ''; } else { @@ -1451,6 +1452,8 @@ function relativity_token_values($type, $tokens['parent-menu'] = ''; $tokens['parent-menupath'] = ''; + + $tokens['parent-urlalias'] = ''; } return $tokens; } @@ -1486,6 +1489,7 @@ function relativity_token_list($type) { $tokens['relativity']['parent-mod-????'] = t('All tokens for node creation dates can also be used with with the "mod-" prefix; doing so will use the modification date rather than the creation date.'); $tokens['relativity']['parent-menu'] = t("The name of the menu the node belongs to."); $tokens['relativity']['parent-menupath'] = t("The menu path (as reflected in the breadcrumb), not including Home or [menu]. Separated by /."); + $tokens['relativity']['parent-urlalias'] = t("Parent URL alias."); return $tokens; } }