Closed (fixed)
Project:
Taxonomy Menu Trails
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2010 at 09:51 UTC
Updated:
4 Dec 2010 at 21:10 UTC
The Revisioning module changes a menu item's page callback through a hook_menu_alter():
$items['node/%node']['page callback'] = $items['node/%node/view']['page callback'] = '_revisioning_view';
However, the taxonomy menu trails module does a check on the page callback value to see if the user is viewing a node page using:
if ($item['page_callback'] == 'node_page_view')){
I don't know if it's the revisioning module that's not playing nicely or taxonomy menu trails, but for now I changed the
if ($item['page_callback'] == 'node_page_view')){
to
if (arg(0)=="node"){
Any feedback on this would be appreciated ;)
Comments
Comment #1
dmitriy.trt commentedYes, there is a problem, maybe we should detect node page in some other way. For example:
I'll make this change in the next release (6.x-1.2). Thanks for reporting.
Comment #2
dmitriy.trt commentedFixed in latest release (6.x-1.2)