Closed (outdated)
Project:
Custom Breadcrumbs
Version:
6.x-2.0-beta3
Component:
custom_breadcrumbs_views
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Dec 2010 at 17:25 UTC
Updated:
17 Jun 2020 at 08:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
penyaskitoPatch attached
Comment #2
MGN commentedI am not sure I understand the problem. Block isn't one of the allowed display types (see _custom_breadcrumbs_allowed_display in custom_breadcrumbs_common.inc) so a block display shouldn't be able to override an allowed display (like page, calendar, or image_gallery).
Perhaps this is a more complicated view than I am used to thinking about. Can you describe it further and explain why the logic in the current code is fail to work for your view?
Comment #3
skylord commentedSuffering from the same issue. I have a view page with nodes list and 2 blocks from the same view displaying summaries of similar nodes list. Theese blocks also call hook_views_pre_render and overwrite my custom breadcrumb... As they don't have nodes in result - tokens don't work....
Patch supplied above fixes this issue.
Comment #4
MGN commentedComment #5
penyaskitoI have tried to reproduce my own bug and I cannot. @skylord, could you reproduce it and post an example?
Comment #6
spike22 commentedI can confirm this error with the latest dev version too. Bug still exist
To reproduce the bug:
-create a page view (for example: listing node titles) and create a block view (for example a slideshow or slider)
-put the block to a region and make sure that block is available and present at the page-view
-create a custom breadcrumb for the view or for that path (doesn't mather, neither will work)
Visiting the page, u'll see no change, what i mean the breadcrumb is overwritten.
After going thru and checking the code, changed the "_custom_breadcrumbs_allowed_display" to
then the custom_breadcrumbs_views died at the 'selecting the path' part. I uninstalled the submodule, and created a 'path' custom breadcrumb. For me that quickly worked, however i personally don't think this would be the right way globally. I just give you the right direction to find the source of the problem. Now I create all custom breadcrumbs by path.
Anyway, thx for this great module, if i can help in any way don't hesitate to ask!
Comment #7
lamp5