Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
menu system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2009 at 02:55 UTC
Updated:
12 Aug 2014 at 18:20 UTC
Jump to comment: Most recent
Comments
Comment #1
sunHoly cow. What an awesome idea!
Should be fairly easy -- still possible for D7?
Comment #2
alexanderpas commentedI guess not, since we're already in code slush. (4 months before the first reply... I love Open Source ;) )
Comment #3
edgar saumell commentedsubscribing
Comment #4
stephthegeek commentedJust had the same thought and went looking for an issue. Thumbs up for this, and it's in line with the way other page content has been going in Drupal.
Comment #5
dman commentedFWIW, I have just done something similar now in a sandbox module for D6. Mostly trivial and easy.
http://drupalcode.org/viewvc/drupal/contributions/sandbox/dman/breadcrum...
You can get it by going
cvs co -d :pserver:anonymous@cvs.drupal.org:/cvs/drupal-contrib -d breadcrumb_block contributions/sandbox/dman/breadcrumb_block... not sure if it's worth a stand-alone project yet. Maybe.
Options on the block config page include:
... Now I can place breadcrumbs in the $header from the UI :-)
Until now this has been regarded as a theme thing, but it can also be done through a module, and I prefer managing it like this. Some code taken (with respect) from Zen theme which provides some of this functionality also.
Just making a note here as it's the search result I found when looking for previous solutions.
Comment #6
jbrown commentedThis is awesome. We need a proper breadcrumbs api in D8.
Comment #7
dman commentedLess dodgy now, I found I can use hook_preprocess_page() to nullify the default breadcrumb rendering.
@me happy now.
Thinking this really is worth a small project of its own. For incubation if nothing else.
Comment #8
klonos...coming from #576290: Breadcrumbs don't work for dynamic paths & local tasks after Daniel's suggestion in post #133. +1 for this as a separate module too!
Comment #9
sunhttp://drupal.org/project/breadcrumb
Comment #10
effulgentsia commentedI just today had to add this code to a D6 site:
and this code to a D7 site:
in order to not display a breadcrumb when the only link in it is "Home", so for this and many other reasons, +1 to this issue for D8, with some config options as per #5.
Note also some of the UI discussion in #897768: Breadcrumb can show only one trail item, making it look like an action. Would be good to collate some more UI research on what would make for sensible defaults.
Comment #11
effulgentsia commented#10 was x-post with #9. Awesome! Glad we have a D7 contrib project for pushing this along!
Comment #12
sunYou will be able to simplify and speed up your code after #907690: Breadcrumbs don't work for dynamic paths & local tasks #2 landed. It introduces hook_menu_breadcrumb_alter(). :)
Comment #13
Jeff Burnz commentedOh dear lord let this happen - subscribe...
Comment #14
Scott J commentedIf anyone needs a breadcrumb block right now, Blockify module will do it for you.
Comment #15
xjmRelated: #1811792: drupal_set_title() should not be necessary to set the homepage title
Comment #16
Crell commentedBreadcrumbs are now blocks. Turn the block off if you want. :-)