name); // Build breadcrumb based on the hierarchy of the term. $current = (object) array( 'tid' => $term->tid, ); // @todo This overrides any other possible breadcrumb and is a pure hard-coded // presumption. Make this behavior configurable per vocabulary or term. $breadcrumb = array(); while ($parents = taxonomy_get_parents($current->tid)) { $current = array_shift($parents); $breadcrumb[] = l($current->name, 'taxonomy/term/' . $current->tid); } $breadcrumb[] = l(t('Home'), NULL); $breadcrumb = array_reverse($breadcrumb); drupal_set_breadcrumb($breadcrumb); drupal_add_feed('taxonomy/term/' . $term->tid . '/feed', 'RSS - ' . $term->name); $build = array(); $build['term_heading'] = array( '#prefix' => '
', '#markup' => t('There is currently no content classified with this term.'), '#suffix' => '
', ); } return $build; }