Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
I had an issue where the last loaded node was being used to set the breadcrumb. So for example I have a view of news in a sidebar and the term from the news was being used even though I'm looking at a different non news node. The issue is because the $view_mode is being checked incorrectly.
Line 55 of taxonomy_breadcrumb.module:
if ($view_mode = 'full' && !drupal_is_front_page()) {
should be
if ($view_mode == 'full' && !drupal_is_front_page()) {
Thanks
Reece
Comment | File | Size | Author |
---|---|---|---|
#1 | taxonomy_breadcrumb-view_mode_bug-1280434-2.patch | 558 bytes | firebird |
Comments
Comment #1
firebird CreditAttribution: firebird commentedHere's the change rolled into a patch.
Comment #2
jantoine CreditAttribution: jantoine commentedPatch is good!
Comment #3
lmeurs CreditAttribution: lmeurs commentedGreat, works for me! Hopefully the maintainer can find some time to update this great module...
Comment #4
Taxoman CreditAttribution: Taxoman commentedWhy isnt this simple fix part of the latest -dev release? (bumping...)
Comment #5
jantoine CreditAttribution: jantoine commentedPatch in #1 committed.