Fresh installation of the latest dev versions of D7 core and CB 7.x-2.x. Go to the module's settings page. The breadcrumb is:
Home » Administration » Configuration » User interface
...now, enable the "Append page title" option and save settings. Result: the setting has no effect on how the breadcrumb is rendered. Still like so:
Home » Administration » Configuration » User interface
...while it should be:
Home » Administration » Configuration » User interface » Custom breadcrumbs configuration
It only seems to work when "Use the menu structure to set the breadcrumb trail" is enabled as well and "management" is selected as the menu that the breadcrumb is patterned after. If it is so, the breadcrumb is:
Home » Administration » Configuration » User interface » Custom breadcrumbs settings
...as expected.
Comment | File | Size | Author |
---|---|---|---|
#7 | append_page_title_fix_if_no_setting_found-1226570-7.patch | 1.14 KB | subhojit777 |
Comments
Comment #1
MGN CreditAttribution: MGN commentedThis option was originally intended to append the page title only when a custom breadcrumb has been applied (see #1071978: Current page title? for the development of the feature). I still think there may be another problem (other than documentation) which I will look into...
In your example, the page title shouldn't be applied since a custom breadcrumb was not applied.
If you want to append page title to the end of the breadcrumb trail for all pages on your site - do this in your theme. Custom breadcrumbs isn't needed for this.
Comment #2
MGN CreditAttribution: MGN commentedClosing because i think this was just a misunderstanding. I believe the module is working as designed.
Comment #3
klonosok then, how does one achieve what I need using this module? Menu breadcrumb offers a simple "Append page title to breadcrumb" checkbox in its settings that does exactly what it says. No extra coding in the theme level - almost zero effort. I thought that is why modules are developed - to make our life easier.
Anyways... as I said I've settled with Menu breadcrumb now. It does what I want. Anyone else looking for this feature, I highly recommend you use it instead.
Comment #4
carvalhar CreditAttribution: carvalhar commentedI'm marking this as still open because it's simple to correct, althout there isn't an option to do this through settings:
add:
but be sure to uncheck the Append page title at settings (avoind duplicate title).
Comment #5
klonos...or use Menu breadcrumb instead that does this with a "Append page title to breadcrumb" option that simply works ;)
Comment #6
jiakomo CreditAttribution: jiakomo commentedProposed solution in #4 does not work in D7. "Array" is displayed instead of the breadcrumbs. Any thoughts?
Comment #7
subhojit777Also I saw a behavior that if no settings for breadcrumbs are found then "append page title" setting was not working. Here is a patch that will fix this issue. I created the patch against 7.x-2.0-alpha3 version of the module.
Hope this helps!