--- sitemenu-HEAD/sitemenu.module 2007-10-14 01:56:38.000000000 +0200 +++ sitemenu-HEAD.taxonomy_term_path/sitemenu.module 2007-10-14 01:58:29.000000000 +0200 @@ -405,20 +405,20 @@ function theme_sitemenu_render_outline($ switch($vocab_type) { case SITEMENU_VOCAB_TYPE_IMAGE: - $path = 'image/tid/'; + $path = 'image/tid/' . $term->tid; break; case SITEMENU_VOCAB_TYPE_FORUM: - $path = 'forum/'; + $path = 'forum/' . $term->tid; break; default: - $path = 'taxonomy/term/'; + $path = taxonomy_term_path($term); break; } $count = ($term->count) ? ' (' . $term->count . ')' : ''; if (isset($term->description)) { // use the description as a title attribute for terms - $link = l($term->name . $count, $path . $term->tid, array ("title" => $term->description)); + $link = l($term->name . $count, $path, array ("title" => $term->description)); } else { if (isset($term->link)) { @@ -426,7 +426,7 @@ function theme_sitemenu_render_outline($ $link = $term->link . $count; } else { - $link = l($term->name . $count, $path . $term->tid ); + $link = l($term->name . $count, $path); } }