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

malc_b’s picture

I'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.

MGN’s picture

Assigned: Unassigned » MGN

Thanks. 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.

MGN’s picture

Status: Active » Fixed

I just fixed this in CVS. It will be available in the next dev snapshot.
(EDIT: Also applied to 6.x-1.x-dev)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.