Closed (fixed)
Project:
Views (for Drupal 7)
Version:
5.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2008 at 16:42 UTC
Updated:
13 Mar 2010 at 00:23 UTC
I have a view with one argument (Taxonomy: Term ID). My menu looks like:
Menu item (view)
-- submenu 1 (view/1)
-- submenu 2 (view/2)
There are some problems with breadcrumbs in such configuration. When I select Menu item everything is correct an I have:
Home >> Menu item
When I select submenu the breadcrumbs show:
Home >> Menu item >> view name >> taxonomy term name
instead of expected
Home >> Menu item >> submenu 1 or at least Home >> Menu item >> taxonomy term name
Comments
Comment #1
manuel garcia commentedHi,
I am also seeing this issue.
I have a page view setup, to take arguments (content type), here is the situation:
The view url is example.com/resources
If I go to example.com/resources/videos (videos being a content type), i get the following breadcrumb:
Home › Resources › Resources ›
Both Resources links are pointing to example.com/resources, so my guess is that this part in views_set_breadcrumb($view) isn't acting properly:
I am not skilled enough in PHP to either afirm that this is where the problem lies with any type of confidence, nor (if that's the case) to figure out what in this code is broken, but perhaps someone more skilled will shared some light into this issue...
I am using custom breadcrumbs module, although I don't see it interfeering here since it only applies to content types (in their full node view), as far as I know.
Please reply if you need further information or testing to narrow down the bug/issue.
Thanks and greetings from Barcelona!
Comment #2
jajathejazzcat commentedI had the same issue but was able to solve it temporally by commenting out the following line (line: 1486)
This gets rid of breadcrumbs generated by the views.module, and now I have a clean breadcrumb generated by the menu system only.
Comment #3
ryo commented> jajathejazzcat
Yes, by commenting out the whole 1486 line, the problem is solved only if you set the menu items for the view pages's URL.
But instead, if you don't have menu items and specify the URLs with arguments directly on the address bar,
disappears the breadcrumb of the parent (no argument) view's title...
Thanks.
Comment #4
esmerel commentedGiven the age of this issue, I have to presume it's either figured out or no longer relevant.