1 Apr
2008
1 Apr
'08
7:30 p.m.
Try putting print statements in menu_set_location and menu_set_active_item (and possibly other places) to see if some module is calling this _after_ you call it. And noone should be calling menu_set_location without reading: http://www.angrydonuts.com/menu_set_location_can_eat_my_sho On Tuesday 01 April 2008, Domas Monkus wrote: [snip]
The same code works just fine if I put it into another module's page callback function. I guess, I could put the code into hook_nodeapi (just like menu trails module does), but I want this to work for all pages, not just nodes.
Should I be using a different hook? Am I missing something else? Maybe there already is a solution to this problem?