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

rstamm’s picture

Status: Active » Closed (works as designed)

both 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.

MGN’s picture

Title: Bug with module custom BreadCrumbs » [term] is not replaced in custom breadcrumbs when also using the Term Display module

I 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.

MGN’s picture

I 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.