Closed (fixed)
Project:
Custom Breadcrumbs
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2009 at 15:30 UTC
Updated:
12 Aug 2009 at 14:30 UTC
Since Custom Breadcrumbs calls theme_menu_item() and theme_menu_item_link() directly, there is no way of overriding these functions in the template.php file of your custom theme.
Comments
Comment #1
MGN commentedYes, we've hijacked the theme as describe in #334324: Menu active trail query. I would like a better solution to this (and a new idea has be proposed...) but haven't had time to evaluate it yet. Right now this hijacking is optional - just don't check the 'Force the active trail' box at admin/settings/custom-breadcrumbs.
Comment #2
MGN commentedComment #3
MGN commentedThis has now been fixed in http://drupal.org/cvs?commit=244346. I believe the term "hijacking" is no longer appropriate, since we now store the theme registry menu item and menu links functions and then call them after modifying a few variables. When testing the latest code, be sure to re-save the configuration at admin/settings/custom-breadcrumbs so the theme registry is rebuilt.