Extend General settings of Classes (ClassDefinition) #15848
NikitaKharkov
started this conversation in
General
Replies: 1 comment
-
So, what I did was add near the separate request in the js and save the necessary settings. The only thing if something went wrong - one part will be saved, another - no. As another solution - add onControllerEvent and make necessary changes there. All these solutions are bad, but resolve the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I have an idea to extend class definition with Kafka settings. So I want the user to setup all the Kafka configurations by General settings, so I'd like to add either an additional panel or rewrite to a tab panel with General settings and Kafka settings.
But I see that ClassDefinition where General Settings stores is final and there are any events when I can add some logic to process Kafka settings.
Can somebody tips me how to do my task in the best way?
I didn't find any info about how to redeclare/extend the General Settings.
The only ugly solution I have now it's to override the whole internal class ClassController and override the saveAction and getAction for my purposes.
Pimcore version 10.4
Beta Was this translation helpful? Give feedback.
All reactions