I have several taxonomy/term/* pages linked in my menu. Menu breadcrumb displays them fine, such as "Home > Portfolio > Sites" or "Home > Portfolio > Designs", etc. Where:
Home = fixed link
Portfolio = regular page linked to menu item
Sites or Designs = taxonomy/term/1 and 2
However, for all nodes with Sites and Designs terms breadcrumb is broken. It is displayed as "Home > Site sample 1" and "Home > Design sample 1". And that is understood why it is so, those pages are not linked anywhere in menu.
My goal is to display correct breacrumbs for these pages, such as "Home > Portfolio > Sites > Site sample 1" or "Home > Portfolio > Designs > Design sample 1".
My solution would be to display just breadcrumb for the term (Sites or Design) of the particular node and just attach current node title to it, this way I could get breadcrumb of a desired view.
I would appreciate if somebody could let me know, how could I build a breadcrumb for a term of a current node, which I know it (term) can be found in my menu... So, a short question would sound like: how do I generate a breadcrumb for a path which is not based on current page? Such as:
drupal_get_breadcrumb('taxonomy/term/1'); // I know, this function doesn't take arguments.. it's just an example
I would then append current page title to the array and... go get a good sleep. As I have been messing around with Menu breadcrumb module for a while now.
Or, maybe, there is another way how can I build the breadcrumb I need...
Comments
Comment #1
Scott J commentedHave you looked at http://drupal.org/project/custom_breadcrumbs module. It seems to cover all possibilities.
Comment #2
xurizaemonCleaning up issue queue. Closing all D6 issues.
If you believe this issue still applies to a supported version, feel free to re-open it. That would be a great time to check if the issue contains clear steps for reproducing the bug!
Thanks and sorry for any inconvenience.