Hi folks
I have some custom modules. Module "A" related to module "B" (many-to-many). Can I hide module B from tab list (like with admin -> Configure Tabs) and use it only with the subpanel of module A (with the Create/Select/edit/remove buttons)?
Hi folks
I have some custom modules. Module "A" related to module "B" (many-to-many). Can I hide module B from tab list (like with admin -> Configure Tabs) and use it only with the subpanel of module A (with the Create/Select/edit/remove buttons)?
Last edited by zaska; 2008-11-05 at 12:27 PM. Reason: solved
Hi zaska
You can do that.
After hiding the sub module in the Configure Tabs, go to modules/<ParentModule>/metadata/subpaneldefs.php and add these lines before the $layout_defs array:
global $modules_exempt_from_availability_check;
$modules_exempt_from_availability_check['<SubModule>'] = '<SubModule>';
If this file does not exist so go to custom/Extension/modules/<ParentModule>/Ext/Layoutdefs/
Go to Admin -> Repair -> Rebuild Extension
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
Works like a charm![]()
Thanks (again)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks