Heya,

I'm using this brilliant module on my site but am running into a small issue.. for some pages that are views and are directly available in the menu, for example, stuff/blog I get a breadcrumb of the sort "stuff -> blog" even when "Append page title to breadcrumb" is unchecked. However, if I go to a blog entry, like stuff/blog/funnystory, I still get the breadcrumb as previously, i.e. "stuff -> blog" without the title of the entry.. Now if I check the "Append page title.." option, it fixes the second location, i.e. I get "funnystory" appended to my breadcrumb.. but what happens is that if I go now to stuff/blog it shows "stuff -> blog -> blog" in the breadcrumb.. :(

Please let me know if I can provide any further details and thanks a lot in advance for your support!

Cheers,
Martin

PS. I have that same setting also unchecked in my theme configuration, so that shouldn't be the issue.

Comments

arski’s picture

bump, anything? :(

xurizaemon’s picture

Status: Active » Postponed (maintainer needs more info)

Can you replicate this with a core theme, eg Garland?

arski’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

actually, i cant reproduce it with my own theme anymore.. weird stuff.. checking the "append page title.." option works good now.. hmm.. I'll reopen if I get this again :)

keva’s picture

I had this problem when overriding the symbol in the breadcrumb, using this code in template.php:

function THEMENAME_breadcrumb($breadcrumb) {
  if (!empty($breadcrumb)) {
// uncomment the next line to enable current page in the breadcrumb trail
//    $breadcrumb[] = drupal_get_title();
    $breadcrumbs = strtolower(implode(' » ', $breadcrumb));    
    return $breadcrumbs;  }
}

Initially $breadcrumb[] = drupal_get_title(); was not commented out, so it added the title, in addition to what Menu Breadcrumb was doing.

(adding to the thread for anyone searching for this problem in the future)

noodle.farm’s picture

Category: support » bug
Status: Closed (cannot reproduce) » Needs work

I had this same issue and found the cause and fix.

You will get the duplicate page title in the breadcrumb if you have "Append page title to breadcrumb" checked off in the Menu Breadcrumb settings as well as "Append the content title to the end of the breadcrumb" checked off in the drupal theme settings (/admin/build/themes/settings/your-theme-name).

Deselect "Append the content title to the end of the breadcrumb" in the drupal theme settings to correct the issue.

Since this is a duplicate setting I think that the setting in Menu Breadcrumb should probably be changed to override the default drupal breadcrumb setting to avoid confusion.

jigarius’s picture

Issue summary: View changes

I am getting this as well. I think it's because the module is creating one link for the item in the menu and adding the current page title as the last item at the same time. The solution will be to not add the menu link or the current page title if both of them point to the same URL.

xurizaemon’s picture

Hey @jigarius

Just noting that this issue is for the 6.x branch and eight years old - you're welcome to move it along with a patch / proposed changes if you want, but 6.x is no longer supported and anyone aiming to resolve it will need to target a branch that is supported.

jigarius’s picture

Oops. Sorry. I didn't notice the version. lol.

xurizaemon’s picture

Status: Needs work » Closed (outdated)

Cleaning 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.