Language Change PR-6.1-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

Add a Comment

Login with GitHub to post a comment