Please activate JavaScript in your browser.
Language Change
PR-6.1-dev
Pending
User tests:
Successful:
Unsuccessful:
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
sshekhar563
-
open
-
17 Dec 2025
sshekhar563
-
change
-
17 Dec 2025
joomla-cms-bot
-
change
-
17 Dec 2025
Category
⇒
Administration
com_contact
Language & Strings
Front End
sshekhar563
-
change
-
17 Dec 2025
Labels
Added:
Language Change
PR-6.1-dev
tecpromotion
-
change
-
17 Dec 2025
Title
Differences
…
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
tecpromotion
-
edited
-
17 Dec 2025
Add a Comment
Login with GitHub to post a comment
@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.