Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
- Link title:
- Title:
- Link title:
!page_title
- Link path:
<none>
(also occurs with%node:title
)
- Link title:
Comments
Comment #1
kalabroHi @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.
Comment #2
knalstaaf CreditAttribution: knalstaaf commentedThe 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?
Comment #3
kalabro@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!
Comment #4
knalstaaf CreditAttribution: knalstaaf commentedHmm, 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 :) )
Comment #5
kalabroPlease revert all changes and forget about it :)
Unfortunately I don't know how to help you as I need more info from developer perspective.
Comment #6
knalstaaf CreditAttribution: knalstaaf commentedOk, 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.
Comment #7
markhalliwell