Closed (fixed)
Project:
Custom Breadcrumbs
Version:
1.0.0-alpha1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2020 at 09:37 UTC
Updated:
20 Nov 2020 at 11:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
paulocsHello,
Do you mean title like image bellow?
Comment #3
ab2211 commentedNo, I mean a title to the breadcrum link.
Comment #4
lamp5Using hook_preprocess_breadcrumbs
Comment #5
paulocsOh yes, you can use the hook_preprocess_breadcrumbs like @lamp5 said. You can do this only programmatically using the custom_breadcrumb module.
I know that the easy_breadcrumb module has this possibility but I don't know if it is your case to use the easy_breadcrumb instead of the custom_breadcrumb.
Comment #6
ab2211 commentedWith the D7 version of custom breadcrumbs I had the possibility with a "| hreftitle" after the title.
Comment #7
paulocs@ab2211 using the token module it is possible to get the page title.
Please install the token module and use the token -> [current-page:title]
Please tell us if it solves your problem.
Comment #8
shivam kaushal commentedComment #9
shivam kaushal commentedtry this code , it will work
Comment #10
shivam kaushal commentedComment #11
paulocsSetting issue to fixed.
Please feel free to reopen it if you have any question.
Comment #12
ab2211 commentedNot sure, if I explained it correctly. I meant the title of the breacrumb link:
<a href="abc" title="xyz">. WIth D7 I was able to do this, with the D8 version of the module this doesn't work.Comment #13
paulocs@ab2211, custom_breadcrumbs does not have this functionality.
Comment #14
paulocsIf you add a title variable to your template, you can use THEMENAME_preprocess_breadcrumb() to add the html title.
Comment #15
ab2211 commentedHm.
WIth D7 I use at title a vertical bar:
My homepage | My Hompage is greatand this makes<a href="/path/" title="My Hompage is great">My homepage </a>. This let's me customize the title wihout any tokens (I can use tokens too if needed).So this will not be supported in further versions?
Comment #16
paulocsYou can open an issue as a "Feature request" and we can commit it when a patch is provided.
And then we make a release with this feature.