Results 1 to 3 of 3

Thread: using 'hidden' module

  1. #1
    zaska's Avatar
    zaska is offline Senior Member
    Join Date
    Sep 2008
    Posts
    99

    Arrow using 'hidden' module (solved)

    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

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: using 'hidden' module

    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.

  3. #3
    zaska's Avatar
    zaska is offline Senior Member
    Join Date
    Sep 2008
    Posts
    99

    Default Re: using 'hidden' module

    Works like a charm
    Thanks (again)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 2008-06-17, 06:32 AM
  2. Custom module - relation works one way but not the other
    By stevenjohn in forum Developer Help
    Replies: 15
    Last Post: 2008-06-06, 02:00 PM
  3. Replies: 4
    Last Post: 2008-05-29, 07:52 AM
  4. Replies: 0
    Last Post: 2007-11-21, 12:08 PM
  5. Copy the Leads Module
    By ringkvist in forum Developer Help
    Replies: 0
    Last Post: 2007-10-12, 08:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •