--- taxonomy_context.module 6 Feb 2008 18:18:37 -0000 1.72.2.8
+++ taxonomy_context.module 12 Apr 2008 20:29:10 -0000
@@ -641,6 +641,14 @@
else {
$output .= '
' . $term->description . "
\n";
}
+ if ($term_relations = taxonomy_get_related($term->tid, "name")) {
+ $output .= ''. t('See also') . ': ';
+ foreach ($term_relations as $term_related) {
+ $items[] .= l($term_related->name, "taxonomy/term/$term_related->tid");
+ }
+ $output .= implode(', ', $items) . "
\n"; // strip trailing comma
+ unset($items);
+ }
if ($term->links) {
$output .= ' '. theme('links', $term->links) . "
\n";
}