Feature Language Change PR-6.2-dev Pending

User tests: Successful: Unsuccessful:

avatar Aaqilyousuf
Aaqilyousuf
18 Sep 2025

Pull Request for Issue #45867

Summary of Changes

This PR introduces two new configuration options for the Contact component (com_contact):

  • Contact Page Title – allows administrators to define a custom title for the contact page.
  • Email Form Title – allows administrators to define a custom title for the email form section.

These fields have been added in two places:

  1. config.xml – for global component options (applies to all contact pages unless overridden).

  2. default.xml – for menu item parameters (allows per-menu/page overrides).

The template file default.php has been updated to render these titles if provided, otherwise it falls back to the default language strings.

Testing Instructions

  1. Go to Administrator → Components → Contacts → Options.

    • Set values for Contact Page Title and Email Form Title in the global configuration.
  2. Go to Menus → Main Menu → (select a Contact menu item) → Page Display Options.

    • Set values for Contact Page Title and Email Form Title at the menu item level.
  3. Navigate to the contact page on the frontend.

  4. Verify:

    • If menu item values are set, they override the global config.

    • If no menu item values are set, global config is used.

    • If neither is set, the default core language strings appear.

Actual Result BEFORE Applying This Pull Request

  • Contact pages always display the default titles (no way to customize).

Expected Result AFTER Applying This Pull Request

Testing.mp4

✅ This PR fixes issue #45867

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 - 18 Sep 2025
avatar Aaqilyousuf Aaqilyousuf - change - 18 Sep 2025
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Sep 2025
Category ⇒ Administration com_contact Language & Strings Front End
avatar richard67 richard67 - change - 18 Sep 2025
Title
…
Add new fields for contact and email form titles
[6.1] Add new fields for contact and email form titles
avatar richard67 richard67 - edited - 18 Sep 2025
avatar Aaqilyousuf Aaqilyousuf - change - 18 Sep 2025
Labels Added: Language Change PR-6.1-dev
avatar Aaqilyousuf Aaqilyousuf - change - 18 Nov 2025
Labels Added: Feature
avatar Johanv74
Johanv74 - comment - 31 Jan 2026

I was able to successfully complete the test. I was able to create a contact with my own title.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46121.

avatar HLeithner
HLeithner - comment - 17 Mar 2026

This pull request has been automatically rebased to 6.2-dev.

avatar HLeithner HLeithner - change - 17 Mar 2026
Title
…
[6.1] Add new fields for contact and email form titles
[6.2] Add new fields for contact and email form titles
avatar HLeithner HLeithner - edited - 17 Mar 2026
avatar muhme
muhme - comment - 10 Apr 2026

As there are two options we need documentation for this enhancement.

avatar MacJoom MacJoom - change - 10 Apr 2026
Labels Added: PR-6.2-dev
Removed: PR-6.1-dev
avatar muhme muhme - test_item - 10 Apr 2026 - Tested successfully
avatar muhme
muhme - comment - 10 Apr 2026

I have tested this item ✅ successfully on 6c4ef61

Tested with JBT and Patch Tester

avatar BeginnerJoomlaCom
BeginnerJoomlaCom - comment - 16 Apr 2026

I was able to successfully complete the test. I was able to create a contact with my own title.

@Johanv74 Please mark your Test Result as successfully at the Issue Tracker. So it can count as successful Test at Github.

avatar brianteeman
brianteeman - comment - 25 Sep 2026

Before proceeding further do we really need to add another set of options. This is easily achievable with a template override and I dont really see the benefit of adding these extra options - you cant have an option for everything

avatar ThomasFinnern ThomasFinnern - test_item - 25 Sep 2026 - Not tested
avatar ThomasFinnern
ThomasFinnern - comment - 25 Sep 2026

I have not tested this item.

I couldn't reproduce the starting situation with the test instruction
As the main user i need first to trash the checked out menu item
which generates the message
"The user checking in does not match the user who checked out the item."

on the home menu it says
"Can't unpublish default home"
So i fear i am on the wrong track


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46121.
avatar ThomasFinnern
ThomasFinnern - comment - 25 Sep 2026

I have not tested this item.

I couldn't reproduce the starting situation with the test instruction
As the main user i need first to trash the checked out menu item
which generates the message
"The user checking in does not match the user who checked out the item."

on the home menu it says
"Can't unpublish default home"
So i fear i am on the wrong track


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46121.

Add a Comment

Login with GitHub to post a comment