'arg' for nodes incorrectly set to taxonomy
darrenlambert - June 14, 2009 - 04:13
| Project: | Node breadcrumb |
| Version: | 6.x-1.0-beta2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
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.

#1
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
#2
almost the same as http://drupal.org/node/341492