我想从QuickCreateView中删除默认按钮SAVE,CANCEL和FULLFORM。我必须通过注释以下几行来修改方法/include/MVC/View/views/view.quickcreate.php
中的核心文件display
$this->ev->defs['templateMeta']['form']['headerTpl'] = $this->headerTpl;
$this->ev->defs['templateMeta']['form']['footerTpl'] = $this->footerTpl;
$this->ev->defs['templateMeta']['form']['buttons'] = $this->defaultButtons;
$this->ev->defs['templateMeta']['form']['button_location'] = 'bottom';
$this->ev->defs['templateMeta']['form']['hidden'] = '<input type="hidden" name="is_ajax_call" value="1" />';
$this->ev->defs['templateMeta']['form']['hidden'] .= '<input type="hidden" name="from_dcmenu" value="1" />';
但是我想避免这种情况。什么是从中删除默认按钮的正确方法 ViewQuickcreate?