Hi again, I have given it some thought and I do want to fix this somehow. There are a few subpanels that I would like to hide or delete. In Admin -> Display Modules and Subpanels those subpanels aren’t in the list, also not in the “hidden” box. Could this be a “rights” or “security” settings issue?
Also good to know is that I’m working with a Dutch language module. I am not a developer but I do have some experience with FileMaker Pro so if there would be another solution, I would like to use that when everything else fails.
Thanks! The only thing is that I can’t locate this file (custom/Extension/modules/Accounts/Ext/Layoutdefs/aos_accountsLayoutdefs.php) and also my directories are a bit different, probably due to the use of a newer version…
In those instructions to create files under custom, the general rule is that you should create any missing subdirectories.
The file you need to create can have any name, as long as it has .php extension.
I don’t think aos_accountsLayoutdefs.php is a good name, I would choose something like myUnsetMemberOrgs.php - I like to use the names to remind myself, years later, that I created that file, not Studio, and what I had in mind
Check the permissions on your new file, it looks like SuiteCRM can’t read it.
It’s common when you’re creating the file with one user (which you use to login, or from CPanel, and it gets restrictive permissions. You need to ensure your web server user can read it. Give all read accesses you can.
I followed the instructions above and made a php file (custom.php) with the following content:
// Remove subpanels from Accounts module (JR)
The mistake I made was that I didn’t have the right subpanel names, for example, the subpanel member organizations is called accounts and the subpanel products and services purchased is called products_services_purchased
As I said, I’m not a developer but I’m glad I could find the solution with your help and a bit of trial and error!
Thank you @krekel326 for giving the solution. I try this but did not work. I hope your given solution is for SuiteCRM 8.
If your solution is not for SuiteCRM 8 can you please guide us on how to do it on SuiteCRM 8?