another upgrade save workaround to disable the sidequickcreate bar per module basis is to add the sidecreateviewdefs.php to the custom folder:
Code:
custom/modules/<module>/metadata/sidecreateviewdefs.php
and change the paths to the template files to empty custom template files:
i.e for the opportunities module:
Code:
$viewdefs['Opportunities']['SideQuickCreate'] = array(
'templateMeta' => array('form'=>array('buttons'=>array('CANCEL'),
'headerTpl'=>'custom/include/EditView/header.tpl',
'footerTpl'=>'custom/include/EditView/footer.tpl',
'button_location'=>'bottom',
),
'maxColumns' => '1',
'panelClass'=>'none',
'labelsOnTop'=>true,
'widths' => array(
array('label' => '10', 'field' => '30'),
),
),
'panels' =>array ()
);
Bookmarks