The module offers the option "Make the page's title segment a link" that when checked has no effect.

Comments

laue created an issue. See original summary.

laue’s picture

StatusFileSize
new722 bytes
laue’s picture

Status: Active » Needs review
greg boggs’s picture

Wow, nice Laue, thanks!

In truth, I've never used that checkbox. It was left over from D7. Now that I think about it, do you really want a link to the current page that refreshes the page when clicked?

laue’s picture

I'm working on a custom theme and it looks better if that breadcrumb is a link. I checked it and when I saw it does nothing, I wanted to understand why. I'm already using the patch in my project, so I thought I could share it.

Nice module by the way.

greg boggs’s picture

Hi Laue,

Your patch does not apply. Can you reroll it? This may help: https://www.drupal.org/node/707484

patch -p1 < easy_breadcrumb-title_link-2849717-1.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|<+>UTF-8
|===================================================================
|--- docroot/modules/contrib/easy_breadcrumb/src/EasyBreadcrumbBuilder.php (date 1486214709000)
|+++ docroot/modules/contrib/easy_breadcrumb/src/EasyBreadcrumbBuilder.php (revision )
--------------------------
File to patch: ^C

greg boggs’s picture

Status: Needs review » Needs work
laue’s picture

StatusFileSize
new859 bytes

Hey Greg,

First time attempting to make a patch and I thought I can get away by making it via the IDE. Our build also failed because of it :D. Now I made a patch using git diff and I'm hoping this time it will apply.

laue’s picture

StatusFileSize
new699 bytes

Okay, so patches have to be made from the root of the module, not the root of the project. Makes sense. This should work.

  • Greg Boggs committed a1eb4ac on 8.x-1.x authored by laue
    Issue #2849717 by laue, Greg Boggs: 'Make the page's title segment a...
greg boggs’s picture

You got it, I pushed your patch with a little bit of respacing since the line got really long. Thanks for your contribution!

greg boggs’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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