Project:Menu Breadcrumb
Version:6.x-1.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

Hello,
It works fine except on this case :
My option menu is a view. A field of this view has a link to node. And when displaying this node, the trail is broken. I understand it's because this node does not belong to a menu.
exemple : from myMenu, option publication => a view lists 40 books. And when clicking on title, I show the node (customed design).
Is that module not wrotten for such a case? Is there another module for that case?
I can do the following : to each node, I tell it belongs myMenu/publication and in admin/build/menu-customize I diseable the nodes. It's OK but heavy.
Any suggestion?

Comments

#1

@sahuni, looks like this issue is a duplicate of #275622: Doesn't work for Views pages - am marking this issue as a duplicate.

If this is not correct, please re-open this issue and specify how the two issues are different. Otherwise, hopefully the fix there can be corrected for your case also.

Thanks!

#2

Status:active» closed (duplicate)

#3

This isn't a duplicate (despite the rather confusing and largely irrelevant issue title), but it's not a menu_breadcrumb issue either.

sahuni is just talking about nodes (not Views) that have no menu item, and consequently have no breadcrumb.

You can hard-code this kind of thing by generating a custom $trail array, and then calling:

<?php
menu_set_active_trail
($trail);
drupal_set_breadcrumb(menu_get_active_breadcrumb());
?>

But you might prefer to try the custom_breadcrumbs module.

#4

Sorry for poor title.
You have understood well jweowu, despite my not so clear explanation. In fact, I installed the http://drupal.org/project/custom_breadcrumbs module just for that specific case and it was OK.
Thanks for showing the 2 ways of solving that problem.