bean->retrieve($_REQUEST['record']); if($this->bean->is_template == 1){ $this->footerTpl = 'modules/Project/tpls/QuickEditFooter.tpl'; $this->headerTpl = 'modules/Project/tpls/QuickEditHeader.tpl'; $this->defaultButtons = array('DCMENUCANCEL'); } } return parent::preDisplay(); } }