Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This changes only one line in taxonomy.module
It sets a title for the last menu item in the breadcrumb.
Of course, the most people won't matter, because they don't display the last (active) menu item in the breadcrumb. But some do...
The change is trivial, stable and conforms to all coding standards.
PS: $names[0] is always set at this point.
Comment | File | Size | Author |
---|---|---|---|
#1 | taxonomy_20.patch | 900 bytes | dfg |
Comments
Comment #1
dfg CreditAttribution: dfg commentedthe patch
Comment #2
Steve Dondley CreditAttribution: Steve Dondley commentedCan you please explain what the user will see differently with this patch applied? I installed the patch don't see anything different. I'm obviously one of the users that "display the last (active) menu item in the breadcrumb." How would I enable this?
Comment #3
dfg CreditAttribution: dfg commentedYou cannot enable/disable that. I coded my own breadcrumb function (about 50 lines of code).
But that's not the problem. If you don't see something, this does not mean, that there was no failure...
As I said before, with this fix, the active menu item becomes a title in this case (all parent items already had one).
It's also a question of bad coding. And IT IS bad coding when you don't give the active menu item a TITLE.
Comment #4
drummCommitted to HEAD.
Comment #5
Jaza CreditAttribution: Jaza commentedhttp://drupal.org/cvs?commit=36277 - a change was made to settings.php in this commit, which was clearly not meant to be committed. Please revert the settings.php change.
Comment #6
drummFixed.
Comment #7
(not verified) CreditAttribution: commented