Closed (outdated)
Project:
Custom Breadcrumbs
Version:
7.x-1.0-alpha1
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2011 at 23:12 UTC
Updated:
17 Jul 2020 at 09:33 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commented*bump*
Myself and somebody at http://drupal.org/node/955352 needs this too.
Raising priority to major. Please don't hit me.
Comment #2
sokrplare commentedUsing what you had did the trick for me, but that was inside region--content.tpl.php (an Omega template file).
Comment #3
jaroslaw.kaminski commentedI don't know what I'm doing wrong.
I added DS Code Field:
and added to my Layout in DS
and I'm only getting:
"Home"
of course node type in CB is configured http://i.imgur.com/O5ZMih.png
Comment #4
jaroslaw.kaminski commentedbump? :)
Comment #5
basvredelingThis snippet only works in the theme layer because the custom breadcrumbs assembly has finished. It does so incrementally I believe. And there is no 1 function to just retrieve the assembled breadcrumbs.
I see 3 possible solutions:
Comment #6
basvredelingI gave up on trying to get this to work. My specific problem will be fixed using a workaround by fetching menu items instead.
FYI: if you're trying to retrieve the breadcrumbs on a panel page (for instance a node panel) you can try hook_ctools_render_alter(). For views try hook_views_post_render().
In the below example I'm getting the parent breadcrumb. It's all pretty hacky / ugly code, but hey... if it helps you guys out...
Comment #7
lamp5Closing this because is outdated. Only 7.2 branch and greater are supported.