please tell me how to remove the “Finish” menu item in the “Tasks” section? And in “Meetings” remove the “Send invitation” button? I do this through my buttons
Announcement
Collapse
No announcement yet.
del default buttons
Collapse
X
-
Originally posted by Kharg View PostA custom view will do the trick
PHP Code:define('custom:views/task/detail', 'views/detail', function (Dep) {
return Dep.extend({
setup: function() {
Dep.prototype.setup.call(this);
this.removeMenuItem('setCompletedMain');
},
});
});
I ask you to tell me exactly where in the files to correct and what to correct. I'm a beginner programmer. I've been poking around for 4 days now and can't find a solution. Many people say that these are system buttons and they cannot be removed
Comment
-
Create the view in your espo folder:
espofolder/client/custom/src/views/task
detail.js
PHP Code:define('custom:views/task/detail', 'views/detail', function (Dep) {
return Dep.extend({
setup: function() {
Dep.prototype.setup.call(this);
this.removeMenuItem('setCompletedMain');
},
});
});
espofolder/custom/Espo/Custom/Resources/metadata/clientDefs
and create or edit Task.json
PHP Code:{
"views": {
"detail": "custom:views/task/detail"
}
}
Of course for Meetings it will be different
Comment
Comment