Closed (works as designed)
Project:
Term Display
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2009 at 18:49 UTC
Updated:
17 Nov 2009 at 02:19 UTC
It sounds like the taxonomy information is not being loaded into the node object for some reason
See this thread http://drupal.org/node/478314 on the issues page of Custom BreadCrumb to get all details.
Any help will be welcome.
regards
Comments
Comment #1
rstamm commentedboth modules uses hook_nodeapi(), http://api.drupal.org/api/function/hook_nodeapi/6.
but module term display uses operation "view" to customize the terms. and custom breadcrumbs uses "alter".
operation "view" is always earlier called up than "alter".
solution: change "alter" into "view" in custom breadcrums.
Comment #2
MGN commentedI am not sure I follow the logic.
You want custom breadcrumbs to be able to use the content inserted into the node by other modules during the view operation. Therefore, custom breadcrumbs should be using 'alter', which is performed after 'view'. See also #300316: Use nodeapi op 'alter' rather than 'view' to allow usage with panels content pane for details.
So perhaps there is another reason? Custom breadcrumbs has no problem working with [term] when Term Display has not been enabled.
Comment #3
MGN commentedI had a look at the term_display_nodeapi function and think I understand the suggestion now. It really is by design (for both modules), and not a bug in either module. Term display deletes the $node->taxonomy data, so its no longer available for tokens - that's why the [term] token fails when forming the breadcrumb. I've described this in more detail at #478314: [term] not displaying in Title for anyone who is interested.