This could be a feature request I suppose. It's more that custom breadcrumbs doesn't have 100% coverage. The situation I have is that a view (built in views behaviour?) gives me a breadcrumb of:
Home :: view_title
where view_title is a link to itself. For other pages breadcrumbs only show the previous levels. Hence what I need custom breadcrumb to do is to remove the breadcrumb. If I make the visibility false then the default breadcrumb is shown. If I make the visibility true and the title and path both then what I end up with is
Home ::
and not
Home
which is what I should get. Hence the code needs to check if title/path is / and not add a breadcrumb if it is.
Comments
Comment #1
malc_b CreditAttribution: malc_b commentedI'll try this again as all the nones disappeared. The none should be wrapped in greater than/less than but I'll use []
----------------
This could be a feature request I suppose. It's more that custom breadcrumbs doesn't have 100% coverage. The situation I have is that a view (built in views behaviour?) gives me a breadcrumb of:
Home :: view_title
where view_title is a link to itself. For other pages breadcrumbs only show the previous levels. Hence what I need custom breadcrumb to do is to remove the breadcrumb. If I make the visibility false then the default breadcrumb is shown. If I make the visibility true and the title and path both [none] then what I end up with is
Home ::
and not
Home
which is what I should get. Hence the code needs to check if title/path is [none]/[none] and not add a breadcrumb if it is.
Comment #2
MGN CreditAttribution: MGN commentedThanks. I think I get the idea. Its actually a duplicate of #345155: Make title/path fields not required. Now I see the use case that I was struggling to identify on that issue. This isn't hard to do....stay tuned.
Comment #3
MGN CreditAttribution: MGN commentedI just fixed this in CVS. It will be available in the next dev snapshot.
(EDIT: Also applied to 6.x-1.x-dev)