- Status changed to Closed: cannot reproduce
4 months ago 12:10pm 16 August 2024
I've struggled with breadcrumbs and have been able to obtain my desired goals using this module. I struggle with the singular/plural content issue - ie; a node is singular but content type is plural. so I use Easy Breadcrumb to override and clean the text to meet my wants.
All is working except one section. Forms. I am using the generic D8 contact form module and have created multiple contact forms with different titles based on the specifics of the form - for example 'Contact Us' 'Website Feedback' or 'Product Info'. There is 'contact' page that exists but was not created by me called 'Contact'. I believe it is generated by the contact module. This may actually be important to the matter.
The URL for the form for website feedback is "/contact/feedback". What returns in the breadcrumb is "Contact > Contact".
This holds true with the product info page '/contact/prod_info" which shows in breadcrumb as "Contact > Contact". The same with my Contact Us form, and my Buy Now form.
I have no specific customization in the Advanced settings specific to the contact forms. I have many specialized strings and Regex statements for other content types and they work perfectly.
I tried creating strings in the "Path to replace with custom breadcrumbs"
regex!/contact//([^/]*) :: Contact | /contact/contact_us
All contact forms have an extra "Contact" in the breadcrumb at the end.
So, EG; /contact/feedback resulted in 'Contact > Feedback > Contact'.
The initial crumb properly links to my contact us page, and the 'feedback' word is pure text as expected, but then there is always an extra 'Contact' text appended. no matter what I do! The Contact module is a system module and doesn't actually have a 'page' per se - it is unique and therefore seems to require special handling.
I've tried to hide the string with CSS (can't specifically target the Li so nix that idea).
I believe this is actually a system problem with the Contact module, not easy Breadcrumb but I am having a hard time identifying the source of the problem due to the complexity of breadcrumbs in general. It may be that the Contact module pops it's title onto the breadcrumb stack and is therefore appended to the string and can't be overridden.
Really looking for some assistance on this one! Thank you.
Closed: cannot reproduce
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.