I enabled this option with the primary links menu but nothing happens.
In the breadcrumb trail I have only the homepage link.

Comments

MGN’s picture

Thanks for reporting this. I've confirmed that this is a problem and am working on a solution.

deva1983’s picture

Subscribing.

MGN’s picture

Status: Active » Needs review
StatusFileSize
new1.21 KB

This patch reverts part of #627792: Custom Breadcrumb option causes Access Denied in OG Forums, and should restore the ability to pattern the breadcrumb after the menu structure.

I am not sure, but I don't think this will negatively impact that original issue - seems that the problem was fixed in og_forum, but this needs to be checked.

Can you test the patch and verify that it fixes the problem?

Anonymous’s picture

subscribing. Still have to use menu_breadcrumbs to get what I want. I guess, this functionallity is a replacement for the menu_breadcrumbs module, right?

MGN’s picture

Version: 6.x-2.0-beta3 » 6.x-2.x-dev
Status: Needs review » Fixed

Committed patch to 6.x-2.x-dev for further testing. http://drupal.org/cvs?commit=372384

RedTop’s picture

Cheers, I use this feature on two sites. On one site it works without any probs but on another site it doesn't. Both sites used version 6.x-2.0-beta3. I just upgraded to the latest dev and fortunately that made the boo-boo go away. :P

Thanks! :)

ISPTraderChris’s picture

Status: Fixed » Needs review

Just a heads up that the current dev branch breaks Themekey when 'Use Menu Structure' is enabled. This was *not* an issue with the beta3 branch -- I just upgraded from beta3 to the dev branch try and fix the issue noted here regarding a missing menu tree breadcrumb. When I disable the configuration option in to use the menu structure as the breadcrumb (in the dev branch) everything is back as it should be.

We are using Themekey to change the site theme for users having specified roles.

mrfelton’s picture

Status: Needs review » Needs work

This functionality only seems to work if the node is in one menu only. If you place it in several menus, no breadcrumb is generated.

For example, I have a node in the primary-links menu, as well as several other menus. At admin/settings/custom-breadcrumbs I have set 'Use the menu structure to set the breadcrumb trail' checkbox, and selected the primary-links menu. No breadcrumb shows - until I remove the node from all the other menus so that it is only in the primary links menu.

mrfelton’s picture

Status: Needs work » Needs review
StatusFileSize
new1.67 KB

Attached patch seems to get it working again when nodes are in more than one menu (partly ripped from latest menu_breadcrumbs module)

cpo’s picture

I enabled this option with several menu (primary or others) but nothing happens.
In the breadcrumb trail I have only the homepage link.

TimG1’s picture

subscribing

rp7’s picture

subscribing

MGN’s picture

Status: Needs review » Fixed

@mrfelton, Thanks for the patch and your patience. I was hoping that someone else would come along and actually test the patch, but got tired of waiting and tested it myself. I was able to reproduce the problem and verified that the patch works as expected. I cleaned up a few white space issues and committed it to 6.x-2.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

SchwebDesign’s picture

Just sharing- i had this exact same issue and updating to the latest DEV release fixed the issue for me as well. Thank you!

gooddesignusa’s picture

Doesn't seem to be working for me even with the latest dev. I'm not sure if it matters that i'm using a different menu I created and not the primary links one. I need to do some more testing.

akosipax’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Issue summary: View changes
Status: Closed (fixed) » Active

Re-opening issue for version 7.x-2.x

Traced the code and it seems that in custom_breadcrumbs.module line 831, the variable passed must be an array else it would just set the active menus to the default ones. Changing line 831 to menu_set_active_menu_names(array($menu_name)); made it work.

lamp5’s picture

Status: Active » Closed (outdated)