Results 1 to 2 of 2

Thread: additional values in Calls drop down list

  1. #1
    valentinag is offline Sugar Community Member
    Join Date
    Oct 2010
    Posts
    15

    Default additional values in Calls drop down list

    I'm trying to add two additional values for Unsuccessful and Rescheduled. It works realy well. users can mark call as rescheduled and duplicate it for the new time. reporting is great. Problem is, I don't know how to make these statuses to appea in the history under leads or accounts.

    did anybody have any experience with this

  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: additional values in Calls drop down list

    You have to extend the script modules/Calls/metadata/subpanels/ForHistory.php in order to add the new value into attribute 'where'.

    The steps are:
    Create an extended layoutdefs for each modules containing a History subpanel;
    The extended layoutdefs must have the content:
    PHP Code:
    <?PHP
    $layout_defs
    ['<Module>']['subpanel_setup']['history']['collection_list']['calls']['override_subpanel_name'] = 'CustomForHistory.php';
    ?>
    Copy the script modules/Calls/metadata/subpanels/ForHistory.php into custom/modules/Calls/metadata/subpanels/CustomForHistory.php and add the new value on 'query' attribute;
    Go to Admin -> Repair -> Rebuild Extensions

    Obviously create the folders if they don´t exist.

    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.

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: 2010-02-17, 01:33 AM
  2. Replies: 0
    Last Post: 2008-10-16, 07:21 PM
  3. Drop down list values - storing place and other questions
    By 3mentina in forum General Discussion
    Replies: 1
    Last Post: 2008-10-02, 09:39 AM
  4. Replies: 1
    Last Post: 2007-10-19, 03:41 PM
  5. Additional information in Calls window
    By 3v3ntiq in forum Feature Requests
    Replies: 0
    Last Post: 2006-09-09, 12:54 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
  •