Closed (fixed)
Project:
Easy Breadcrumb
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2017 at 12:39 UTC
Updated:
31 Mar 2018 at 17:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
greg boggsWhat's the URL for this page?
Comment #3
tatarbjIt's a /user page on our product after log in.
I think the report is valid and should be handled as more generic improvement for the next release because tabs should be handled by easy breadcrumb even url doesn't change.
I'm gonna get back here at most in a few days!
Thanks Tom for the report and great testing ;)
Bests,
Balazs.
Comment #4
jenlamptonThis is easy to see on the Blocks page for the Seven theme (
admin/structure/block/list/seven), with the "Block" crumb being listed twice, once linking to `admin/structure/block` and once to `admin/structure/block/list`.On both those paths the same resulting html markup will be shown, as `admin/structure/block/list` is the default local task for `admin/structure/block`.
Drupal includes a special menu item type
MENU_VISIBLE_IN_BREADCRUMBthat determines when one of these links should be shown in the breadcrumb trail. All we need to do is check this setting before adding the breadcrumb, and it should fix the problem.Attaching a patch for review.
Comment #5
tatarbjI like the way how you handle it @jenlampton! Let me test it a bit deeper and get back in a few days.
Comment #6
tatarbjComment #7
tatarbjAfter testing it now with a small typo i just fixed (see patch and interdiff) and i'm about to commit it to dev.
Thanks @jenlampton!
Comment #9
tatarbjtypo fix in the title and after the commit, closing the issue.