Closed (fixed)
Project:
Custom Breadcrumbs
Version:
6.x-2.0-beta2
Component:
custom_breadcrumbs_views
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Jan 2010 at 19:26 UTC
Updated:
30 Jun 2011 at 15:48 UTC
Hello!
The customs breadcrumb doesn't seem to work properly if a view is provided a default argument (or possibly if it is provided an incomplete number of arguments).
I have a page view that takes two arguments: a node ID and a taxonomy term. If there is no taxonomy term provided, I give a default argument ('overview'). When I go to the page with both arguments provided (product/70/history), the breadcrumb works correctly. If I go to the page with only one argument provided (product/70), it does not. Note that providing the default argument in the URL makes the breadcrumb display correctly (product/70/overview).
I thought I would bring this to your attention for a future patch.
Comments
Comment #1
MGN commentedThanks for reporting this. I've been able to verify the bug and believe I have found a solution. I am going to test it on a couple of sites to be sure, then I'll post a patch if it works.
Comment #2
jratrw commentedI am having the same issue with a calendar view. Arguments are nid and a date, with the date defaulting to now. My custom breadcrumbs do not work unless the date is specified.
Comment #3
MGN commentedA fix for this has just been committed to 6.x-2.x-dev.
Comment #4
ppcc commentedI'm having a related problem, though I'm using the latest 6.x-2.x-dev from Jan 20.
I'm using views tabs, the default tab doesn't display the breadcrumb correctly, but breadcrumbs on the other tabs work as expected.
Comment #6
jim kirkpatrick commented@ppcc: I share your issue, please see #1205274: Default tab view not getting custom breadcrumbs for more.