Results 1 to 7 of 7

Thread: Delete Subpanels under Leads

  1. #1
    nirensewsanker is offline Senior Member
    Join Date
    May 2009
    Posts
    43

    Question Delete Subpanels under Leads

    Hi guys

    I need to remove two subpanels from leads, Is this possible? or advisable? They are document subpanels which are not required. How do I delete these subpanels while keeping my SugarCRM upgrade safe?

    version 5.2e

    Many Thanks

  2. #2
    sanjaykatiyar1's Avatar
    sanjaykatiyar1 is offline Sugar Community Member
    Join Date
    Feb 2006
    Location
    Bangalore
    Posts
    600

    Default Re: Delete Subpanels under Leads

    Is there any Document subpanel in the Lead (DetailView)?
    If you remove any subpanel from the file level(coding) then its not upgrade safe.
    Sanjay Katiyar
    iPhone and Android solutions http://www.apptility.com

  3. #3
    madmat is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    Germany
    Posts
    164

    Default Re: Delete Subpanels under Leads

    Did you make a relation Leads->Documents using studio?
    Otherwise it seems strange, afaik there´s no "Documents" subpanel by default in the Leads module.

    You can find the default subpanels in "modules\Leads\metadata\subpanelsdef.php"
    Uncomment the unwanted subpanels and you should be fine.

  4. #4
    nirensewsanker is offline Senior Member
    Join Date
    May 2009
    Posts
    43

    Default Re: Delete Subpanels under Leads

    Yes there are document subpanels under leads. I do not need them though.

    Thanks again

  5. #5
    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: Delete Subpanels under Leads

    You can create an extended layoutdefs for Leads where you can remove the specific subpanel.
    Create the folders and file custom/Extension/modules/Leads/Ext/Layoutdefs/layoutdefs.ext.php
    PHP Code:
    <?PHP
    unset($layout_defs['Leads']['subpanel_setup']['<subpanel_name>']);
    ?>
    Then go to Admin -> Repair -> Rebuild Extensions
    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.

  6. #6
    cmacholz is offline Senior Member
    Join Date
    Sep 2009
    Location
    Missoula, MT
    Posts
    82

    Default Re: Delete Subpanels under Leads

    I don't see a "documents" sub panel under leads. In studio I can see the relationship but not the sub panel.

    How do I turn this feature on?

    thanks
    version 5.2j

  7. #7
    p.terhorst is offline Junior Member
    Join Date
    Nov 2008
    Posts
    1

    Default Re: Delete Subpanels under Leads

    Hello andopes,

    I had also a problem with a non working link to a subpanel and the solution worked perfect.

    Thanks for the information.

    Pascal.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 2009-10-27, 04:52 AM
  2. Replies: 4
    Last Post: 2008-04-24, 06:35 AM
  3. Replies: 1
    Last Post: 2008-04-21, 11:18 PM
  4. Delete button Select in subpanels
    By krakoss2 in forum Developer Help
    Replies: 1
    Last Post: 2008-03-04, 03:45 PM
  5. How to delete all uploading leads?
    By francois95 in forum Help
    Replies: 4
    Last Post: 2006-02-08, 03:11 PM

Tags for this Thread

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
  •