I want to add a button in a panel in my own object editor. I was successful in adding an icon and handler in Object Editor like in the example documentation. But i want to add a button somewhere in the panel below the editor.How do i find out which js file to extend so that i can create a menu button.
I have tried to extend the object class and i want to know which function gets executed to add my button to this toolbar
`pimcore.plugin.celumImage = Class.create(pimcore.plugin.admin, {
postOpenObject: function (object, type) {
console.log("dsdsd"+object.data.general.o_className);
object.toolbar.add({
text: t('show-pdf'),
iconCls: 'pimcore_icon_pdf',
scale: 'small',
handler: function (obj) {
//do some stuff here, e.g. open a new window with an PDF download
}.bind(this, object)
});
pimcore.layout.refresh();
},
});`
Can you get the tabpanel here or should i want to extend the object class so that i can add the button in the image