Closed (duplicate)
Project:
Node breadcrumb
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2009 at 04:13 UTC
Updated:
13 Aug 2009 at 17:15 UTC
I have a node, assigned to many taxonomy terms.
When I view the node, and inspect arg(0) Drupal tells me it's 'taxonomy', when it should be 'node'.
The code setting this is line 10
menu_set_active_item($item['link_path']);
If I comment this out, it works fine, and the active menu item is still set correctly.
I disable the Node Breadcrumb module, and arg(0) is correctly shown as node.
Comments
Comment #1
pix_ commentedi'm having a similar problem with arguments passed to a view generated block. When i try to provide ad default argument the node id it doesnt works. neither if i use the php snippets. I figured out that node_breadcrumb messed up all my args, so instead having args(0) as 'node' an arg(1) as node_id i have arg(0) as taxonomy and arg(1) as menu.
Commenting that line causes problem with the menu items to me
Comment #2
edhel commentedalmost the same as http://drupal.org/node/341492