I've copied the following file:
layouts/joomla/form/renderfield.php
to:
templates/XXXX/html/layouts/joomla/form/renderfield.php
and made some changes. Everything good so far.
But when viewing the com_users registration page, this template override is void as com_users is overriding it also:
https://github.com/joomla/joomla-cms/tree/staging/components/com_users/layouts/joomla/form
| Labels |
Added:
?
|
||
| Title |
|
||||||
| Labels |
Added:
J3 Issue
|
||
| Title |
|
||||||
| Status | New | ⇒ | Discussion |
thanks @HLeithner, that worked perfectly
| Status | Discussion | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-08-26 19:55:14 |
| Closed_By | ⇒ | C-Lodder |
In this case you have to override the component version too.
iirc the path should be
templates/XXXX/html/layouts/com_users/joomla/form/renderfield.phpor
templates/XXXX/html/layouts/com_users/form/renderfield.php