Results 1 to 4 of 4

Thread: how to hide the contact module subpanel in the accounts module

  1. #1
    prince is offline Junior Member
    Join Date
    Sep 2007
    Posts
    110

    Post how to hide the contact module subpanel in the accounts module

    how to hide the contact module subpanel in the accounts module

  2. #2
    atdiseno is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Cali, colombia
    Posts
    14

    Default Re: how to hide the contact module subpanel in the accounts module

    Quote Originally Posted by prince View Post
    how to hide the contact module subpanel in the accounts module
    what version is working???

  3. #3
    duprazm is offline Sugar Community Member
    Join Date
    Jul 2010
    Location
    Lugano, Switzerland
    Posts
    12

    Default Re: how to hide the contact module subpanel in the accounts module

    Hello,

    1. go to: custom\Extension\modules\Accounts\Ext\Layoutdefs

    2. Create a new file named for example: _override_hide_sub_panels.php

    3. Open the file and modify as such:

    PHP Code:
    <?php 

    unset($layout_defs['Accounts']['subpanel_setup']['Contacts']); 
    //unset($layout_defs['Accounts']['subpanel_setup']['SUBPANEL_YOU_WANT_TO_HIDE']);  

    ?>
    4. hit a quick repair and rebuild
    5. done

    This procedure apply at every modules in the system

    Matteo

  4. #4
    prince is offline Junior Member
    Join Date
    Sep 2007
    Posts
    110

    Default Re: how to hide the contact module subpanel in the accounts module

    Quote Originally Posted by atdiseno View Post
    what version is working???
    sugar pro 6.5.0

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2012-10-03, 05:38 AM
  2. More than one hop in subpanel under Accounts module
    By jchinnasamy in forum Developer Help
    Replies: 2
    Last Post: 2012-07-25, 11:36 AM
  3. Replies: 1
    Last Post: 2011-03-16, 06:28 PM
  4. Replies: 4
    Last Post: 2010-03-05, 12:56 AM
  5. Replies: 0
    Last Post: 2007-09-20, 12:23 PM

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
  •