com_contact: Layout override selected for a single contact is ignored
When editing a single contact in com_contact, selecting a custom layout override has no effect. Although the selected layout is saved correctly in the backend, the default layout is always displayed in the frontend.
I make extensive use of layout overrides when developing contact forms with customizations. Can anyone else confirm my observation?
Joomla 6 not tested yet
com_contact, for example:
templates/<template>/html/com_contact/contact/custom.php
com_contact, for example:
templates/<template>/html/com_contact/contact/custom.php
The selected layout override is ignored. The contact is rendered using the default layout (default.php).
The selected layout (custom) should be applied, rendering:
templates/<template>/html/com_contact/contact/custom.php
-.
It appears that com_contact no longer considers the layout parameter stored in the contact's parameters when rendering a single contact. Instead, the layout may be overridden by the menu item's parameters or fall back to the default layout.
5.4
| Labels |
Added:
No Code Attached Yet
bug
|
||
| Title |
|
||||||
| Title |
|
||||||
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-07-15 09:31:13 |
| Closed_By | ⇒ | angieradtke |
This stupid person was sitting in front of the screen—I'm sorry
if i am not mistaken then the menu option will always have proprity on the item options