Results 1 to 8 of 8

Thread: How to hide subpanel Notes from Calls ??

  1. #1
    dekleinemedia is offline A Prolific Poster
    Join Date
    May 2009
    Location
    Netherlands
    Posts
    241

    Default How to hide subpanel Notes from Calls ??

    Hi,

    I really need to hide notes from Calls Module (in DetailView)

    How can I do this? Thanks in advance
    Kind regards,

    De Kleine Media


    SugarCRM CE v.5.2.0h
    Windows platform
    MySQL v.5.1
    phpMyAdmin - 2.11.2.2
    Apache Server v.2.0

  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: How to hide subpanel Notes from Calls ??

    You need to create an extended layoutdefs for Calls to remove the notes subpanel.

    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
    dekleinemedia is offline A Prolific Poster
    Join Date
    May 2009
    Location
    Netherlands
    Posts
    241

    Exclamation Re: How to hide subpanel Notes from Calls ??

    Hi André,

    I have created file called layoutdefs.ext.php in custom\Extension\modules\Calls\Ext\Layoutdefs

    this script has following code;

    PHP Code:
    <?php
    unset($layout_defs['Calls']['subpanel_setup']['notes']);
    ?>
    This doesn't seems to do the trick...

    Any reason why this doesn't remove subpanel Notes from Calls ?
    Thanksss
    Last edited by dekleinemedia; 2009-08-12 at 02:40 PM.
    Kind regards,

    De Kleine Media


    SugarCRM CE v.5.2.0h
    Windows platform
    MySQL v.5.1
    phpMyAdmin - 2.11.2.2
    Apache Server v.2.0

  4. #4
    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: How to hide subpanel Notes from Calls ??

    The notes subpanel name is actually history, so the correct code is:

    PHP Code:
    <?php
    unset($layout_defs['Calls']['subpanel_setup']['history']);
    ?>
    Remember to Rebuild Extensions.

    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.

  5. #5
    dekleinemedia is offline A Prolific Poster
    Join Date
    May 2009
    Location
    Netherlands
    Posts
    241

    Default Re: How to hide subpanel Notes from Calls ??

    Great thanks!
    Kind regards,

    De Kleine Media


    SugarCRM CE v.5.2.0h
    Windows platform
    MySQL v.5.1
    phpMyAdmin - 2.11.2.2
    Apache Server v.2.0

  6. #6
    ramji123 is offline Sugar Community Member
    Join Date
    Nov 2006
    Location
    Bangalore, India
    Posts
    266

    Default Re: How to hide subpanel Notes from Calls ??

    Hi,

    I am using sugarpro 5.5

    i used the same logic for Leads...

    I repaired....

    but i still subpanel showing Leads module

    Regards,
    Ramji

  7. #7
    delreal is offline Junior Member
    Join Date
    Jan 2010
    Posts
    3

    Default Re: How to hide subpanel Notes from Calls ??

    Hi,
    Where do I check the name of subpanels created from custom relationships?
    Help please.

  8. #8
    AlexAv's Avatar
    AlexAv is offline Sugar Community Member
    Join Date
    Oct 2009
    Location
    Ukraine
    Posts
    922

    Default Re: How to hide subpanel Notes from Calls ??

    Quote Originally Posted by ramji123 View Post
    Hi,

    I am using sugarpro 5.5

    i used the same logic for Leads...

    I repaired....

    but i still subpanel showing Leads module

    Regards,
    Ramji
    This code is not working with SugarCRM 5.5
    Letrium ltd. - Only high quality service
    http://letrium.com

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to hide tabs like notes, tasks etc.
    By dekleinemedia in forum Help
    Replies: 6
    Last Post: 2009-09-22, 05:50 PM
  2. How to hide the Notes
    By dskanth in forum Help
    Replies: 2
    Last Post: 2009-08-04, 01:39 PM
  3. Calls, Tasks, Notes - Subpanels
    By jim.thornton in forum Developer Help
    Replies: 2
    Last Post: 2009-07-18, 02:21 PM
  4. Help with Notes/Calls
    By Splash123 in forum Developer Help
    Replies: 1
    Last Post: 2009-07-08, 09:38 PM
  5. Hide calls in calendar
    By holyfire in forum Developer Help
    Replies: 5
    Last Post: 2007-10-04, 12:51 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
  •