Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a panel which is a node template. There is only one thing on the page, the Breadcrumb from the page elements section.
I created a custom breadcrumb of the panel variety and selected the proper panel page from the dropdown. I entered a couple test entries in the Titles and Paths boxes, then saved it. When I go to a node the breadcrumb displayed is just a link to Home. I have tried flushing my caches, using the breadcrumbs for nodes, and for paths. Nothing I do seems to impact the breadcrumb at all.
Comments
Comment #1
OnkelTem CreditAttribution: OnkelTem commentedI confirm this. The feature doesn't work as
ctools_page_breadcrumb_content_type_render
seems to be called beforecustom_breadcrumbs
. Setting this to major, since it really makes (sub)module useless.UPDATE
Well it turns out the reason hides in the order
ctools_context_handler_render_handler
does things:It's clear that first it calls an appropriate renderer
$function($handler, $contexts, $args)
(and in particular - breacrumbs rendererctools_page_breadcrumb_content_type_render
) and thendrupal_alter('ctools_render')
which triggers custom breadcrumbs stuff.UPDATE 2
Atm I have no idea how to fix this.
Asked help in ctools issue queue: #1873818: Help resolving custom_breadcrumbs issue
Comment #2
OnkelTem CreditAttribution: OnkelTem commentedBump
Comment #3
JulienThomas CreditAttribution: JulienThomas commentedHi.
I confirmed this bug.
I temporary fix may be to load a specific javascript check that relies on the assumption that all the breadcrumbs div must match the custom breadcrumbs settings. To do so:
in your theme configuration, template.php
and on , in the theme folder / js, overall.js: