Contact Module has extra value popped onto breadcrumb array

Created on 16 August 2020, almost 5 years ago
Updated 17 May 2025, 1 day ago

Problem/Motivation

Contact Module has breadcrumb issue for pages created. For example - in d8.9.3 I create a contact form called 'Website Feedback'. The breadcrumb shows as 'Contact > Contact'. This behavior occurs for any added contact form- in my case I have a 'Product Info', a 'Contact Us' and 'Buy Now' forms. All show 'Contact > Contact' as the breadcrumb.

Using easy-breadcrumb module makes this easier to see - but can't provide a workaround. I was able to attempt an override and the results for my feedback page '/contact/feedback' was 'Contact > Feedback > Contact'. I have reported this as a bug to Easy Breadcrumb module maintainers in hopes they can provide a solution or workaround

I searched for other existing problems/troubles surrounding this and was surprised to not find any. I did find reference to a forum post on Drupal.org of another user experiencing this problem but that post was not in the most useful place and may not be seen by most. I've added a connection to that post so I can place updates that might come here.
https://www.drupal.org/forum/support/post-installation/2017-09-28/breadc... β†’

Proposed resolution

The Contact module assumedly creates a 'Contact' page. This page is either bugged or hardcodes itself into the breadcrumb. I submit that because this is programatically created, it has an issue getting pushed onto the array or stack for the breadcrumb prior to breadcrumb functions - but I am not a programmer. If there was a way to disable the generic 'contact page' and just allow web designers to manage contact forms, or put the contact page into the contact forms and allow it to be disabled or defeated in some way, this problem might be resolved.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Postponed

Version

11.0 πŸ”₯

Component

contact.module

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