Lukas W.
Well-known member
Would be nice to have a couple of code events to make creating new custom field types possible.
To name a couple of methods that needed to be hookable:
Currently, the only way to add new types is to find each instance of each repository and controller and extend them manually, which not only is pretty tedious, but also doesn't work for 3rd party content types that support custom fields out of the box.
Edit: This would also include turning the
To name a couple of methods that needed to be hookable:
- XF\Repository\AbstractField::getFieldTypes
- XF\Repository\AbstractField::getMatchTypePhrases
- XF\Admin\Controller\AbstractField::fieldSaveProcess
Currently, the only way to add new types is to find each instance of each repository and controller and extend them manually, which not only is pretty tedious, but also doesn't work for 3rd party content types that support custom fields out of the box.
Edit: This would also include turning the
field_type
field on the field entity into a string, ideally.
Last edited:
Upvote
17