Feature Language Change PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar Aaqilyousuf
Aaqilyousuf
17 Sep 2025

Pull Request for Issue #45867

Summary of Changes

This PR introduces a new "Contact Page Settings" section in the Cassiopeia template options. Two new toggle options are added:

  • Show Contact Form Title → controls the display of the "Contact" heading on the Contact page.
  • Show Email Form Title → controls the display of the "Contact Form" heading above the email form.

Both options are enabled by default for backward compatibility. When disabled, the respective headings will not be displayed.

Testing Instructions

  1. Apply this patch.
  2. In the Joomla Administrator, go to: System → Site Templates → Cassiopeia → Template Options.
  3. Locate the new section Contact Page Settings.
  4. Toggle Show Contact Form Title and Show Email Form Title on/off.
  5. Visit the Contact page on the frontend.

✅ This PR fixes issue #45867 and provides template-level control for Contact page headings in Cassiopeia.

Actual result BEFORE applying this Pull Request

  • The Contact page always shows both headings:
    • "Contact"
    • "Contact Form"
  • There is no template option to hide them.
before

Expected result AFTER applying this Pull Request

Screenshot 2025-09-14 203206 Screenshot 2025-09-14 203229 Screenshot 2025-09-17 204257
  • When Show Contact Form Title = No, the "Contact" heading does not appear.
  • When Show Email Form Title = No, the "Contact Form" heading above the email form does not appear.
  • When both are set to Yes, both headings remain visible (default behavior).

Link to documentations

Please select:

  • Documentation link for docs.joomla.org: to be created if needed
  • No documentation changes for docs.joomla.org needed
  • Pull Request link for manual.joomla.org: to be created if needed
  • No documentation changes for manual.joomla.org needed
avatar Aaqilyousuf Aaqilyousuf - open - 17 Sep 2025
avatar Aaqilyousuf Aaqilyousuf - change - 17 Sep 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Sep 2025
Category Language & Strings Front End Templates (site)
avatar brianteeman
brianteeman - comment - 17 Sep 2025

The template is not the correct place to do this.

avatar Aaqilyousuf
Aaqilyousuf - comment - 17 Sep 2025

Hi @brianteeman ,

Thanks for your comment. I’m not fully clear on what you mean by “The template is not the correct place to do this.” Could you please explain a bit more? I want to understand the correct approach so I can fix this issue properly.

Thanks!

avatar brianteeman
brianteeman - comment - 17 Sep 2025

What you have done is to create a template override for the cassiopeia template. So that obviously wont solve the problem for anyone that is not using the cassiopeia template. Any option for a component should be made in that component.

avatar richard67
richard67 - comment - 17 Sep 2025

And as it is a new feature, it has to be made for the 6.1-dev branch. 5.3 is the current release which does not receive new features, and the upcoming 5.4 and 6.0 had already feature freeze.

avatar brianteeman
brianteeman - comment - 17 Sep 2025

@richard67 ai doesn't know that rule

avatar Aaqilyousuf
Aaqilyousuf - comment - 18 Sep 2025

@brianteeman Thanks for clarifying. I see now my changes only affect the Cassiopeia template, so they won’t help users on other templates. The fix should instead go inside the Contact component (com_contact) itself.

I’ll rework my solution in the component. Could you confirm if the right place would be adding these options directly in com_contact rather than in the template overrides?

avatar Aaqilyousuf Aaqilyousuf - change - 18 Sep 2025
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2025-09-18 04:30:38
Closed_By Aaqilyousuf
Labels Added: Feature Language Change PR-5.3-dev
avatar Aaqilyousuf Aaqilyousuf - close - 18 Sep 2025
avatar Aaqilyousuf
Aaqilyousuf - comment - 18 Sep 2025

Closing this PR since new features should target the 6.1-dev branch. I will open a fresh PR against 6.1-dev with the expected changes.

Add a Comment

Login with GitHub to post a comment