User tests: Successful: Unsuccessful:
This PR adds a new parameter show_email_heading to the Contact component (com_contact) in Joomla 6.1.
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
<<?= $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
| Status | New | ⇒ | Pending |
| Category | ⇒ | Repository Administration com_admin SQL |
| 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
|
||