Hi !
"Use taxonomy breadcrumbs for views" works for views taking only a TID argument : my_view/123 gets the correct breadcrumb Home > Term123
But for views that have another argument, like node_type, the breadcrumb stays only Home : my_other_view/123/story gets Home
Can someone reproduce this ?
Using "Use the taxonomy of nodes returned by a view to create the taxonomy breadcrumb" is not an option for me for some reasons...
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | custom_breadcrumbs-623274-2.patch | 1021 bytes | guillaumeduveau |
Comments
Comment #1
guillaumeduveauFound that in custom_breadcrumbs_common.inc line 84, it must be :
instead of
Comment #2
guillaumeduveauHere you are nasty bug
Comment #3
MGN commentedThanks for the patch. Just to make sure I understand correctly, the error is due to the order in which the arguments are processed when multiple arguments are present? In the current code, the last argument is processed first, and the patch corrects this.
This makes sense. I'll give it a try. Thanks again!
Comment #4
guillaumeduveauYes, the problem is that in your loop :
you start with the first argument in $arguments, and that with :
you get the last argument in $viewargs, so the arguments from $arguments and from $viewargs are not related.
Comment #5
guillaumeduveauThis module rocks now with that patch, since I have a heavily taxonomy based site, most of the time I don't even have to customize the views breadcrumbs because I'm happy with the behaviour of "Use taxonomy breadcrumbs for views"
Comment #6
MGN commentedThanks for catching that error. I've commited the fix to 6.x-2.x-dev.
Comment #7
guillaumeduveauGreat, thanks :)