Dear quarki69
I am not sure if you ever got this resolved but it is quite simple. I am using SuiteCRM 7.2.5 Beta
If you want to change the Sub panels in the Accounts View then you need to do the work here as this allows you to manipulate the Layout Definitions for the Accounts view
custom/Extension/modules/Accounts/Ext/Layoutdefs/myAccountsLayoutdefs.php
(you should create any of those subdirectories if they don’t exist yet)
Go all the way to the bottom of the file (then it is easy to find in future)
Step 1: Add a comment so you remember what you did
//Hide Subpanel view Leads & member Organizations
Step 2: Add the following 2 lines
unset($layout_defs['Accounts']['subpanel_setup']['leads']);
unset($layout_defs['Accounts']['subpanel_setup']['accounts']);
Step 3: Upload the folder back into the same spot
Step 4: Run “Repair and Rebuild” - which is in Admin->Repair
To understand the code is easy
unset($layout_defs['Accounts']['subpanel_setup']['accounts']);
- it is saying "Hide, in Acoounts, the Subpanel called leads
The next question you may have is how do I find the names of the subpanels I want to hide. That is also not hard go to
modules/Accounts/metadata/subpaneldefs.php and here you can spot the Subpanel name.
You can use the above logic for any Subpanel