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

pix_’s picture

i'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

edhel’s picture

Status: Active » Closed (duplicate)