PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar sshekhar563
sshekhar563
23 Nov 2025

This PR adds a new parameter show_email_heading to the Contact component (com_contact) in Joomla 6.1.

  1. What this feature does
    Currently, the “Email Form” heading is always displayed when the email form is enabled.
    This PR introduces a parameter that lets administrators show or hide the email form heading without overriding the template.

2.Changes included
Added new parameter
show_email_heading
in:
administrator/components/com_contact/forms/contact.xml
Wrapped email heading output in conditional check
in:
components/com_contact/tmpl/contact/default.php

get('show_email_heading', 1)) : ?>
<<?= $htag2 ?>><?= Text::_('COM_CONTACT_EMAIL_FORM') ?></<?= $htag2 ?>>

Default value is 1 (show) to maintain backward compatibility.

3.Why this improvement is needes
Allows hiding the heading for custom layouts
Provides better control via backend parameters
Follows Joomla's parameter-driven template system
Avoids requiring template overrides for simple UI adjustments
Improves flexibility and accessibility

avatar sshekhar563 sshekhar563 - open - 23 Nov 2025
avatar sshekhar563 sshekhar563 - change - 23 Nov 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Nov 2025
Category Repository Administration com_admin SQL
avatar sshekhar563 sshekhar563 - change - 23 Nov 2025
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2025-11-23 05:41:50
Closed_By sshekhar563
Labels Added: PR-5.4-dev
avatar sshekhar563 sshekhar563 - close - 23 Nov 2025

Add a Comment

Login with GitHub to post a comment