Results 1 to 2 of 2

Thread: Additional Detail View in Leads List

  1. #1
    sugarslut is offline Member
    Join Date
    Mar 2010
    Posts
    5

    Question Additional Detail View in Leads List

    I would like my leads to have links to their additional detail view right in the list view.

    Just like how you can click on a lead name or company name in contacts to view its details. i want to be able to do this in leads list view as well.

    It is really annoying to need to click on the little "i" button on the left and then the view button in the pop up.

    How do you make each contact link to its detail view?

    In addition, because i created custom fields, the address and other fields no longer appear in the additional info "i" pop up box.

    How do i make custom fields appear here?


    Thanks for any help!
    Attached Images Attached Images  

  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 Detail View in Leads List

    You need to:

    1. create a logic_hook process_record containing something like that:
    PHP Code:
            $additional_details "
    <span id='adspan_{$relationship_addons_fields['ID']}' onmouseover=\"return SUGAR.util.getAdditionalDetails('RelationshipAddons', '{$relationship_addons_fields['ID']}', 'adspan_{$relationship_addons_fields['ID']}')\" >
        <img class='more_detail' border='0' src='themes/Spectrum/images/MoreDetail.png' width='8' height='7'>
    </span>"
    ;
            
    $relationship_addons_fields['DESCRIPTION'] = $additional_details $relationship_addons_fields['DESCRIPTION']; 
    Obviously you need to modify this code according to your needs;

    Sugar try to retrieve either custom/modules/<ModuleName>/metadata/additionalDetails.php or modules/<ModuleName>/metadata/additionalDetails.php in order to display the DIV, so as Leads has such file on modules/<ModuleName>/metadata/additionalDetails.php you should need to create the custom one.

    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: 7
    Last Post: 2010-01-21, 07:54 AM
  2. link to detail view from list view in the custom module problem
    By shamimwilson in forum Developer Help
    Replies: 10
    Last Post: 2009-12-24, 10:47 AM
  3. Replies: 1
    Last Post: 2009-03-04, 10:56 AM
  4. Replies: 2
    Last Post: 2006-08-19, 12:00 PM
  5. Replies: 0
    Last Post: 2006-05-04, 01:27 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
  •