Closed (fixed)
Project:
Custom Breadcrumbs
Version:
6.x-2.x-dev
Component:
custom_breadcrumbs_paths
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2009 at 08:21 UTC
Updated:
11 Aug 2012 at 03:14 UTC
Jump to comment: Most recent file
Comments
Comment #1
MGN commentedThe only way that I know to get to those pages is through hook_init. The attached patch implements hook_init for custom_breadcrumbs_paths. I've done some limited testing and it seems to work.
The only thing I don't like is that on node pages with path-type breadcrumbs the breadcrumb will be set twice. Once through hook_init and again through hook_nodeapi. It would be better performance-wise to avoid this, but I am not sure how.
Note that some modules (like forum) set their breadcrumbs inside theme templates. This patch will not work for module pages like these.
Let me know if this approach works for you.
Comment #2
MGN commentedComment #4
drupalhooked commentedThanks MGN.
Let me download and test it
Thanks
Comment #5
MGN commentedThanks. I';ve tested this patch on a couple of sites over the last week and it seems to be working fine. I've committed this to 6.x-2.x-dev for further testing. If there are problems, please open a new issue.