Closed (fixed)
Project:
Taxonomy Breadcrumb
Version:
6.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2009 at 06:14 UTC
Updated:
2 May 2009 at 21:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
dinknaround commentedBUMP? BUMP? Anyone? ... So far I think this is due to the hook_menu function with the item taxonomy/term/%. Even though this module does NOT set menu items, deleting this module will delete menu items with the path of taxonomy/term/% because of the hook used. Anyone with idea how to fix this?
Comment #2
MGN commentedThanks for the extra info. When you say "deletes all my menu items" do you really mean all or do you mean items with path taxonomy/term/%?
I am preparing a patch I would like you try to see if it addresses the issue...should be able to post it soon.
Comment #3
MGN commentedHere is the patch. Its just a cleaned up version of one of the patches from #395082: Confilct with Taxonomy Manager. Call to undefined function taxonomy_term_page(). It replaces the hook_menu item with a hook_menu_alter call. I've tested it and from what I have seen, taxonomy_breadcrumb still works as expected. Let me know if this fixes the problem for you.
Comment #4
MGN commentedComment #5
dinknaround commentedThanks a million MGN! "All my menu items" -- i did mean taxonomy/term/% ones only, sorry! I just spent today digging deep and was just about to hack this module and try out the hook_menu_alter function to see if that would fix it (then post result if successful). You beat me to it! I will re-install module, apply your patch, and let you know if it works...fingers crossed!
Thanks again!
Comment #6
dinknaround commentedHey MGN...yes, awesome, that works! I also tried with changing $callbacks to $items; as discussed at http://drupal.org/node/357429. Although, brain must be foggy since I'm confused about their final decision...to use $callbacks or $items. Either way, for now they both work on a D6.9.
BTW...apologies for not catching post & comments about Taxonomy Breadcrumb and Taxonomy Manager, assumed solution wouldn't be in there.
Thanks a million again!
Comment #7
MGN commentedGreat. The patch has been modified somewhat to better address #395082: Confilct with Taxonomy Manager. Call to undefined function taxonomy_term_page(), but it still uses the same hook_menu_alter approach (instead of hook_menu) to override the core taxonomy pages. Once that issue has cleared, I'll commit the fix and release 6.x-1.1 shortly thereafter. Thanks again for testing.
Comment #8
MGN commented