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.

CommentFileSizeAuthor
#2 home_segment_validation_skip.patch2.16 KBnikolaat
Command icon 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

NikolaAt created an issue. See original summary.

nikolaat’s picture

StatusFileSize
new2.16 KB
greg boggs’s picture

Can we open this one as a merge request rather than a patch?

https://www.gregboggs.com/drupal-merge-requests/

greg boggs’s picture

Status: Needs review » Needs work

omkar-pd made their first commit to this issue’s fork.

omkar-pd’s picture

Version: 2.0.1 » 2.x-dev
Status: Needs work » Needs review

Opened a Merge request for patch #2.

  • Greg Boggs committed 40728ff on 2.x authored by omkar-pd
    Issue #3285430 by omkar-pd, NikolaAt, Greg Boggs: Do not check for path...
greg boggs’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.