I'm new to the subject, I 'm trying to hide certain sub panels, for example :
" Leads" , I followed the instructions in " http://developer.sugarcrm.com/2012/05/25/hiding-subpanels-thru-configuration-and-thru-code/ "
In my case : modules / leads / metadata / subpanelsdefs.php
/ Custom / Extension / modules / Leads / Ext / Layoutdefs /
In this direction I have 2 files leads_sf2_log_asignacion_1_Leads.php
Finally my file which should reflect the changes
< ? Php
unset ( $ layout_defs [ "Accounts" ] [ " subpanel_setup ' ] [' Opportunities ']);
And I run fast repair .
but you can not hide the subpanel.