Closed (outdated)
Project:
Custom Breadcrumbs
Version:
7.x-2.x-dev
Component:
custom_breadcrumbs
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 May 2011 at 22:19 UTC
Updated:
2 Jun 2025 at 08:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mirabuck commentedHello,
I needed this feature as well (our multisite install points to a central site at the top of breadcrumbs).
I created a small module and used hook_cb_identifier_list() and hook_cb_identifier_values() to look at adding this functionality. I'm finding though that external URLs coming into hook_cb_identifier_values() via $obj have a / missing so that they're rendered as http:/www.mylink.something. I wondered if it might be related.
Many thanks!
Comment #2
MGN commentedCustom breadcrumbs assumes the paths are internal drupal paths by design. I think the identifier approach that Mirabuck is describing would work well for this.
@Mirabuck, if you would like to post your code, I would be happy to look it over and consider integrating it into the cb_identifiers module if there is interest.
Comment #3
mirabuck commentedHi MGN,
There isn't much to it, but here it is:
Comment #4
Anonymous (not verified) commentedsubscribe
Comment #5
martysteer commentedHere is a drop in module based on Mirabuck's code. Works pretty well as far as I can tell.
Comment #6
cuteapoot commentedAny chance of getting this working in Drupal 7? I don't have an external url, but the url token I'm using is giving an absolute URL instead of just the local Drupal path, and I have no way of getting just the Drupal path to show up in the breadcrumb.
EDIT: It looks like the drop-in module is already for Drupal 7, even though this issue was brought up in the Drupal 6 version. Also, the 7.2 version supports book hierarchy already, so I didn't need this module. I guess this post was just pointless after all!
Comment #7
colanPutting this in proper patch format for review.
Comment #8
genjohnson commentedTrying to apply the patch in #7 I got the error "corrupt patch at line 72". I've re-created the patch.
Comment #9
summit commentedHi,
Will with this patch it be possible to add my http://www.mysite.com/ to every breadcrumb?
greetings, Martijn
Comment #10
lamp5Drupal 7 reached EOL so I close this issue.