AnsweredAssumed Answered

Hide panels or subpanels

Question asked by cesara on Feb 4, 2016
Latest reply on Feb 4, 2016 by cesara

Good Morning:
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
and
_overrideLead_subpanel_leads_sf2_log_asignacion_1.php

Finally my file which should reflect the changes
/custom/modules/leads/Ext/Layoutdefs/layoutdefs.ext.php

Case included
< ? Php
unset ( $ layout_defs [ "Accounts" ] [ " subpanel_setup ' ] [' Opportunities ']);
And I run fast repair .
but you can not hide the subpanel.

 

Outcomes