--- plugins/content_types/term_context/term_list.inc.old	2011-03-24 00:49:17.000000000 +0200
+++ plugins/content_types/term_context/term_list.inc	2011-05-27 16:53:41.000000000 +0300
@@ -31,15 +31,17 @@
 
       case 'child':
       default:
-        $terms = taxonomy_get_children($term->tid);
+        $terms = taxonomy_get_children($term->tid, $term->vid);
         break;
 
       case 'top':
         $terms = taxonomy_get_children(0, $term->vid);
         break;
-
+	case 'breadcrumbs':
+		$terms =  array_reverse(taxonomy_get_parents_all($term->tid));
+		break;
       case 'sibling':
-        $parent = db_query('SELECT parent FROM {term_hierarchy} WHERE tid = :tid', array(':tid' => $term->tid))->fetchField();
+        $parent = db_query('SELECT parent FROM {taxonomy_term_hierarchy} WHERE tid = :tid', array(':tid' => $term->tid))->fetchField();
         $terms = taxonomy_get_children($parent, $term->vid);
         // Remove the term that started this.
         unset($terms[$term->tid]);
@@ -49,17 +51,19 @@
         $terms = taxonomy_get_synonyms($term->tid);
         break;
     }
+    
     if ($terms) {
       foreach ($terms as $related) {
         if (is_object($related)) {
-          $items[] = l($related->name, taxonomy_term_path($related), array('rel' => 'tag', 'title' => strip_tags($related->description)));
+    	    $localURL = taxonomy_term_uri($related);
+            $items[] = l($related->name, $localURL["path"], array('rel' => 'tag', 'title' => strip_tags($related->description))).($conf['type'] == "breadcrumbs" && $term->tid != $related->tid ? "&raquo;" : "");
         }
         else {
           $items[] = check_plain($related);
         }
       }
 
-      $block->content = theme('item_list', $items, NULL, $conf['list_type']);
+      $block->content = theme('item_list', array("items" => $items, "title" => "", "type" => $conf["list_type"]));
     }
   }
   else {
@@ -74,6 +78,7 @@
   return array(
     'child' => t('Child terms'),
     'related' => t('Related terms'),
+    'breadcrumbs' => t('Breadcrumbs'),    
     'sibling' => t('Sibling terms'),
     'top' => t('Top level terms'),
     'synonyms' => t('Term synonyms'),
