AnsweredAssumed Answered

Remove subpanel from a module

Question asked by harpreet_k90 on Nov 17, 2015
Latest reply on Nov 17, 2016 by MK Gupta

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.

Outcomes