Hi All,
I want to disable the create button in the panel-top of Cases subpanel Accounts module. I followed the threads here about how to manipulate in a specific module.
SugarCRM7 HOW TO: Manipulate Subpanel Top Buttons (Actions)
but it doesnt seem to work.
Anyone can help me what to put in
$viewdefs['Accounts']['base']['layout']['subpanels']['components'][] = array (
'layout'=>'subpanel',
'label' => 'LBL_CUSTV_CUSTOMER_VISITS_ACCOUNTS_TITLE', <--what to put here?
'override_paneltop_view' => 'panel-top-for-cases',
'context' => array(
'link' => 'account_cases', //is this correct? its what i saw in the relationship in studio
)
);
Thanks in advance.