Problem/Motivation
I am using breadcrumbs that should contain home element.
I have main menu element that is set as home page. e.g: /home-path
When I create new second level page with path: /home-path/second-level
breadcrumbs looks like this: home > home-path > second-level
The problem is related to home-path because it is rendered as a simple text. This is because there is validation if some part of the bredcrumbs is the same as the home node path, not to be loaded as a link but a simple text.
This is causing two issues for me: The text is not actual link and it is not clickable. The second and more important it is related to multilingual sites. home-path part can not be loaded with its translated menu link title and path string is displayed.
Proposed resolution
To add new configuration that skips the validation, if current breadcrumb part is the same as home page.
Remaining tasks
Review of the patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | home_segment_validation_skip.patch | 2.16 KB | nikolaat |
Issue fork easy_breadcrumb-3285430
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
nikolaatComment #3
greg boggsCan we open this one as a merge request rather than a patch?
https://www.gregboggs.com/drupal-merge-requests/
Comment #4
greg boggsComment #7
omkar-pd commentedOpened a Merge request for patch #2.
Comment #9
greg boggs