Feature Language Change PR-6.2-dev Pending

User tests: Successful: Unsuccessful:

avatar sshekhar563
sshekhar563
17 Dec 2025

Summary

Adds a conditional check before rendering the email form heading in com_contact's default template to allow flexible display control.

Changes Made

  • ✅ Added show_email_heading parameter to contact form XML configuration
  • ✅ Added language strings for the new parameter (label and description)
  • ✅ Implemented conditional rendering of email form heading in template
  • ✅ Defaults to enabled (1) for backward compatibility

Files Modified

  • administrator/components/com_contact/forms/contact.xml - Added new parameter
  • administrator/language/en-GB/com_contact.ini - Added language strings
  • components/com_contact/tmpl/contact/default.php - Added conditional check

Benefits

  • Flexibility: Administrators can hide heading via backend parameters
  • Accessibility: Prevents redundant headings when form isn't present
  • User Experience: Cleaner interfaces in edge cases
  • Backward Compatibility: Defaults to current behavior

Testing

  • ✅ No syntax errors or diagnostics found
  • ✅ Follows Joomla coding standards
  • ✅ Uses existing parameter patterns

Fixes #46445

avatar sshekhar563 sshekhar563 - open - 17 Dec 2025
avatar sshekhar563 sshekhar563 - change - 17 Dec 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Dec 2025
Category Administration com_contact Language & Strings Front End
avatar sshekhar563 sshekhar563 - change - 17 Dec 2025
Labels Added: Language Change PR-6.1-dev
avatar sshekhar563
sshekhar563 - comment - 17 Dec 2025

@brianteeman Thank you for the review and the helpful feedback.
I’ve updated the XML to remove the redundant description and the unsupported useglobal option, and I’ve also added a default value of 1 to preserve backward compatibility.
Please let me know if anything else needs adjustment.

avatar tecpromotion tecpromotion - change - 17 Dec 2025
Title
Add conditional check for email form heading in com_contact's default.php
[6.1] Add conditional check for email form heading in com_contact's default.php
avatar tecpromotion tecpromotion - edited - 17 Dec 2025
avatar sshekhar563
sshekhar563 - comment - 10 Feb 2026

Hi @brianteeman,
Just a gentle follow-up on this PR. I’ve addressed the earlier feedback.
Whenever you have time, I’d appreciate a review or any further suggestions. Thanks again!

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 conditional check for email form heading in com_contact's default.php
[6.2] Add conditional check for email form heading in com_contact's default.php
avatar HLeithner HLeithner - edited - 17 Mar 2026
avatar drmenzelit
drmenzelit - comment - 30 Jul 2026

@sshekhar563 can you please resolve the conversations and make the PR ready to be tested?
I would like to have it in Joomla 6.2

avatar sshekhar563
sshekhar563 - comment - 31 Jul 2026

@drmenzelit Thanks! I'll work through the remaining review comments, resolve the outstanding conversations, and push the necessary updates. I'll let you know once the PR is ready for testing.

avatar sshekhar563
sshekhar563 - comment - 1 Aug 2026

@drmenzelit I've addressed all reviewer feedback, resolved the review conversations, and verified the requested changes. The PR should now be ready for testing. Thank you!

avatar drmenzelit drmenzelit - change - 4 Aug 2026
Labels Added: Feature PR-6.2-dev
Removed: PR-6.1-dev

Add a Comment

Login with GitHub to post a comment