Hi All
How can we remove subpanel from a Module? I want to remove contacts subpanel from Accounts Module (In two ways :-One is simply hide and other is based on some condition,I want to hide contacts Subpanel from Accounts Module.I tried to hide subpanel using below modiification:
unset($layout_defs['Accounts']['subpanel_setup']['Contacts']);
But it did not work in sugarcrm 7.6 version.Please let me know how can we do this.