In my test site I have a 3 level menu (with content), when I visit any level content the breadcrumbs only shows "Home".
When I'm in admin area the breadcrumbs shows the correct trail.

Comments

jbrauer’s picture

The behavior I've experienced in testing is consistent with Drupal 5. If an item is added to an outline or sets breadcrumbs in views it will have a breadcrumb trail but not if I just add to a menu.

Anonymous’s picture

Why the breadcrumbs not follow the menu hierarchy? Do I need to install the book module to set my site hierarchy?

jbrauer’s picture

Priority: Critical » Normal
Status: Active » Closed (works as designed)

The short answer is yes. The menu hierarchy is just for the menus but doesn't define a hierarchy for the content. The Book module will allow you to put your content into a hierarchy and the content can be whatever content type you like it doesn't have to be "book page". Once the book module is enabled you can click on "outline" on each piece of content and the menu will be built for you along with breadcrumbs.

Anonymous’s picture

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

I'm sorry, I didn't know it was a feature, not a bug.

I will close this non-issue ;-)

gdemet’s picture

Version: 6.0-beta1 » 6.0
Component: theme system » menu system
Status: Closed (fixed) » Active

In Drupal 5, putting nodes into the Primary Links menu *did* generate breadcrumbs; however they don't seem to in D6.

johnalbin’s picture

Version: 6.0 » 7.x-dev
Priority: Normal » Critical

To me, this seems like a pretty big regression compared to D5.

Having a primary link hierarchy like so:

item 1
- item1a
- - item1a-I
- item1b
- item1c
item 2

Used to generate a breadcrumb of "item 1 > item1a" for the item1a-I page.

Menu-based breadcrumbs should be the default. Book module and contrib modules should (and can) be able to override that. But core still needs a default breadcrumb for nodes.

Clearly, having just a "Home" link is a broken breadcrumb.

damien tournoud’s picture

Status: Active » Closed (duplicate)

This is a duplicate of #184955: menu_get_active_breadcrumb breaks breadcrumbs in primary links, which has a more in-depth explanation of the issue.

psynaptic’s picture

rmmcclay’s picture

I had this same problem; regardless of the theme I used.
Using 6.16.

Menutrails sorted it out for me.

http://drupal.org/project/menutrails

As far as I know the built-in menu system only works with the
Navigation items, not the Primary menu items which is what
I wanted. So for Primary menu item breadcrumbs one must
either do some programming or find a suitable module.

-r