Eventhough the option Hide breadcrumbs navigation for single breadcrumb is checked, on some pages there's still one breadcrumb (the pages in the main menu).

This is my path configuration, could it have something to do with it?

Base: node/%node
Argument: Node ID
Selection rules: The (node/%node) crumb is set to appear on every content type, except for some.
Path:

  • Parent:
    • Link title: %node:menu-link:pb-join:name
    • Link path: %node:menu-link:pb-join:url
  • Title:
    • Link title: !page_title
    • Link path: <none> (also occurs with %node:title)

Comments

kalabro’s picture

Hi @knalstaaf!
The option "Hide breadcrumbs navigation for single breadcrumb" works for all breadcrumbs on the site if you enabled internal render function ("Use module breadcrumbs render function"). It works on theme layer and may conflict with other breadcrumbs modules or theme settings.

knalstaaf’s picture

The Use module breadcrumbs render function is checked but it doesn't really make a difference for this particular issue.

Since I'm using Bootstrap, I thought this would clear it up: #2313413: Microdata with Bootstrap 3 theme

... but to no avail.

When I switch to other themes (Bartik, Seven) I noticed that the issue persists. In those themes there's even a Home-link in front of it, eventhough Prepend breadcrumbs with a home link by default is disabled.

Does this indicate something anything I should take care of?

kalabro’s picture

@knalstaaf, may I ask you to do some debug of this conditional statement? http://cgit.drupalcode.org/path_breadcrumbs/tree/path_breadcrumbs.module...
What's in $breadcrumbs on problem pages? Is $hide_single_breadcrumb set to FALSE?

Please don't do debug on production server!

knalstaaf’s picture

Hmm, I've copy-pasted the code from the url in my path_breadcrumbs.module and uploaded it, but I'm not really sure what I should see? (Note that I'm not a programmer :) )

kalabro’s picture

Status: Active » Postponed (maintainer needs more info)

Please revert all changes and forget about it :)

Unfortunately I don't know how to help you as I need more info from developer perspective.

knalstaaf’s picture

Ok, no problem, thanks for your time and kind support.

If I'd happen to solve it one way or another, I'll post the solution here.

markhalliwell’s picture