Closed (fixed)
Project:
Breadcrumb2
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Jun 2013 at 17:58 UTC
Updated:
2 Jul 2013 at 10:51 UTC
Right now, every link field item is rendered as a link in
foreach ($breadcrumb_links as $breadcrumb_link) {
$breadcrumbs[]= l($breadcrumb_link['title'], $breadcrumb_link['url']);
}
It would be nice if non-link items would be displayed as pure strings.
Alternatively it would be nicer if the configured entity display would be used with the configured formatter and perheps other fields.
For the first approach is a patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| dont-display-non-links.patch | 810 bytes | hydra |
Comments
Comment #1
g089h515r806 commentedlooks good.
Comment #2
g089h515r806 commentedcommited.
Comment #3
hydra commentedOkay, cool! Now we could try to provide the non-linked page title as well throug rules. Sometimes you want the node title as the last item in the breadcrumb, but in combintation with panels it is not necessarily the same. I worked on an action "Append breadcrumb trail title", I will provide a patch later...