I am stuck with creating a custom datatype. According to the documentation on pimcore (https://pimcore.com/docs/5.x/Development_Documentation/Extending_Pimcore/Bundle_Developers_Guide/Adding_Object_Datatypes.html) I will essentially have 3 files:
- custom.php for managing the data stored for this data type
- custom.js for the class definition editor
- custom.js for the object editor (object tag)
after modifying the config.yml located in ‘apps/pimcore/htdocs/app/config/config.yml’ and extending the required configuration, the data type is not showing up in the pimcore admin UI. Is there a step I am missing here?
I have tried using the existing wysiwyg object datatype and refactored some of the code as a test to create my own custom one: https://github.com/maerrco/PimcoreTestDataComponent
I’m unsure where I’m going wrong here.