Cannot create a blank breadcrumb

malc_b - September 20, 2009 - 10:53
Project:Custom Breadcrumbs
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:MGN
Status:closed
Description

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.

#1

malc_b - September 20, 2009 - 11:00

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.

#2

MGN - September 20, 2009 - 19:45
Assigned to:Anonymous» 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.

#3

MGN - September 21, 2009 - 02:48
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)

#4

System Message - October 5, 2009 - 02:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.