Contact Form won't allow full override

Created on 16 August 2020, over 4 years ago
Updated 16 August 2024, 4 months ago

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.

πŸ› Bug report
Status

Closed: cannot reproduce

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jshimota01 Portland, OR

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024