AnsweredAssumed Answered

Hide Contacts subpanel in Accounts module

Question asked by kockhwie on Jan 6, 2016
Latest reply on Feb 24, 2016 by Günter Swatschina

Hi,

 

I want to hide Contacts Subpanel in Account module. i tried to add the following code under:

@custom\Extension\modules\Accounts\Ext\Layoutdefs\layoutdefs.ext.php

and also tried,

@custom\Extension\modules\Accounts\Ext\Layoutdefs\_overrideAccount_subpanel_accounts_contacts.php

 

 

The code:

unset($layout_defs['Accounts']['subpanel_setup']['accounts_contacts']);

 

 

But both location are not working to hide the contact subpanel.

Outcomes