Hello,

I am using Drupal 6.1 and taxonomy menu module v 6.x.

When I display an artictle, text Array > Array is displayed instead of correct breadcrumb navigation.

Kudlanka

Comments

Andrey Zakharov’s picture

Status: Active » Needs review

Same problem: found such code in

function _taxonomy_menu_node_view(&$node, &$vocabs) {
//...............
      // When we reach the term that this node uses,
      // set the breadcumb
      if ($term->tid == $vocab[0]) {
        drupal_set_breadcrumb(array(
          array('path' => $path, 'title' => t($term->name)),
          array('path' => 'node/'. $node->nid, 'title' => $node->title)
        ));

        // Quit after the first match.
        return;
      }

think need

        drupal_set_breadcrumb(array(
          l(t($term->name),$path),
          l($node->title,'node/'. $node->nid)
        ));

but aliases not count :(

Afief’s picture

there is a better fix in the repository. The dev package should be updated by tomorrow morning if you want to give it a ride.

Afief’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.