Closed (works as designed)
Project:
Custom Breadcrumbs
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2007 at 18:35 UTC
Updated:
12 Jun 2007 at 12:48 UTC
like term-->subterm, CB should gracefully default to the lowest term in a tree hierarchy. Now it just freaks out and displays "Taxonomy Term" with a link /taxonomy/term instead of trying to fight and display something.
Comments
Comment #1
dlx commentedand it seems that the problem is not with custom breadcrumbs, but with views.
If breadcrumbs are generated using a subterm, it just outputs "Taxonomy term" as the breadcrumb.
However, if the page is generated without views (just a straight listing of nodes for a subterm), everything works fine.
Closing this issue.
Comment #2
dlx commentedthe problem is in CB.
custom_breadcrumbs_nodeapi($node, $op, $teaser, $page)function is causing that behaviour. If I leave just if ($op == 'view') It outputs too much stuff in a breadcrumbs on some of the pages, but fixes the breadcrumbs on pages generated with views.Any idea how to change the line above so CB would work with views?
Thanks!
Comment #3
Christefano-oldaccount commentedChanging title.
Comment #4
eaton commentedThere seems to be some confusion about how Custom Breadcrumbs works. It should only generate breadcrumbs when on the single-node viewing page at the www.example.com/node/$nid url. Any other breadcrumb trails (on a view page for example) are being generated by the Views module, not Custom Breacrumbs.