User tests: Successful: Unsuccessful:
Currently, formfields from components aren't registered as custom fields. The code is actually there to look them up but it fails.
Instead of just adding the path to the internal array, it now properly registers the path in the form. This way JFormHelper::loadFieldClass()
a few lines below will actually find the field.
You should see additional fields if an extension has custom ones that implement JFormDomfieldinterface
In core, we don't have that case but you can try it by adding implements JFormDomfieldinterface
to eg this line: https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_users/models/fields/levels.php#L17
This should give you a new formfield "level" in com_users fields.
None
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_fields |
Title |
|
Yep, that's true. Closing in favor of the plugins
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-12-23 10:12:14 |
Closed_By | ⇒ | Bakual | |
Labels |
Added:
?
|
I guess this one becomes obsolete, when #13319 is accepted as all the logic is moved to plugins then?