A panel page with a normal menu entry, title, and that is associated with the primary menu does not appear to set a breadcrumb, or seems to clear the breadcrumb set elsewhere. For instance, I defined rules in the Menu Breadcrumb and the Custom Breadcrumb modules. Neither had an effect on the single Panels page on the site. Breadcrumbs work fine everywhere else, including Gallery pages and View pages.
It would be expected that the breadcrumb is set based on the location of the page in the menu tree. Recreating the menu hierarchy in the taxonomy for the sole purpose of making the breadcrumbs work is not an option.

Comments

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

Panels will add to existing breadcrumbs, but actually goes out of its way not to interfere with existing breadcrumbs in the menu hierarchy.

Please note that Drupal 6's use of breadcrumbs is a little strange. Only items in the Navigation menu (or another menu if it was changed in the menu settings) actually get a breadcrumb unless you install an extra module that will enable breadcrumbs outside the navigation menu.

If you can come up with a procedure that demonstrates an incorrect breadcrumb I'll look into it, but this report is too vague and with too many variables for me to spend much time chasing it down. But if you can come up with something that verifiably should set a breadcrumb trail and does not (keeping in mind the Navigation menu limitation) I can work with that.

cdonner’s picture

Merlin, the panel page that I am referring to actually does not set the page title, either. Maybe the breadcrumb issue is related to that.

See http://baycolonyrailtrail.org/project

I am using a sub-theme of the Marinelli theme. The template.php contains this well-documented function for breadcrumb processing:

function phptemplate_breadcrumb($breadcrumb) {
  if (!empty($breadcrumb)) {
      $breadcrumb[] = drupal_get_title();
        array_shift($breadcrumb);

       return '<div class="path"><p><span>'.t('You are here').'</span>'. implode(' / ', $breadcrumb) .'</p></div>';
  }
  }

It turns out that drupal_get_title() returns an empty string for my panel page. Is there a way to set the page title for a panel page? I suppose I assumed that setting a menu title would set the page title as well, but that's not the case.

merlinofchaos’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Yes, the title is set in the title box on the content page.

There is no breadcrumb that would ordinarily be set on that path. What is it you are expecting?

You have to understand, I find issues like this very frustrating. You are being very vague about what you're getting vs what you are expecting, and I have to guess what it is you think should be happening. All of my guesses suggest that you have a false expectation and that there is no bug.

cdonner’s picture

> Yes, the title is set in the title box on the content page.

There you go, problem solved. I misread the purpose of this field, because it is labeled "Panel Title", and I was looking for "Page Title". I disabled it. Re-enabling the title solved the issue, and breadcrumbs work fine now. Thanks for your help, even though it came with frustration!

cdonner’s picture

Status: Closed (works as designed) » Closed (fixed)

Closed.

avpaderno’s picture

Status: Closed (fixed) » Closed (won't fix)
lonestar790’s picture

- I did try enabling my title before I posted here. It showed the title fine, but no breadcrumb other than home.

I am looking to add the custom breadcrumbs to my new landing panel pages that were built in Panels 3.0. I was using the 6.14 version of the Custom breadcrumbs, which did work on all of my node types as prescribed. I was looking to add the breadcrumbs on all of my views and panels pages too with the newer version of the dev 6x.2x as it looked like it might have solved my problem.

I installed it and walked through the module admin section and it appears like it should be working. I have read that Custom Breadcrumbs needed a hook for the older version to work:

http://drupal.org/node/132557#comment-1823356

My landing pages are custom url panel pages with a hidden title.

Currently the breadcrumb says "home"

I have made a custom breadcrumb for that page, but no dice. Thank you for your time. I hope someone has some in site