Results 1 to 8 of 8

Thread: Lead to Contact

  1. #1
    antoni is offline Senior Member
    Join Date
    Sep 2008
    Posts
    71

    Default Lead to Contact

    I am using 5.2j community edition, I have a lead that I entered but I do not see a button or link or anything to convert that lead to a contact. Any help would be appreciated.

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Lead to Contact

    When you view a lead in detailview, at the top of the Lead information are seven buttons - Convert Lead should be the fourth along

  3. #3
    antoni is offline Senior Member
    Join Date
    Sep 2008
    Posts
    71

    Default Re: Lead to Contact

    Thats what I thought and remember from a version we use at my other job. but in the one I am using for my own business I only have 5 buttons.
    edit, duplicate, delete, find duplicates and view change log

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

    Default Re: Lead to Contact

    Hi Antoni,
    Do you have this code in the ../modules/Leads/metadata/detailviewdefs.php ?
    PHP Code:
    array (

    'customCode' => '<input title="{$MOD.LBL_CONVERTLEAD_TITLE}" accessKey="{$MOD.LBL_CONVERTLEAD_BUTTON_KEY}" type="button" class="button" onClick="document.location=\'index.php?module=Leads&action=ConvertLead&record={$fields.id.value}\'" name="convert" value="{$MOD.LBL_CONVERTLEAD}">'
    ), 

  5. #5
    Moher is offline Member
    Join Date
    Oct 2009
    Posts
    8

    Default Re: Lead to Contact

    Hi All: I want to bump this because I've just run into the same problem...strange. I'm working on a new install of Sugar CE 5.2.0k. I've added some custom fields in the Leads module, added them to the editview and detailview screens in Leads, and then all of a sudden, when viewing a lead record, the "Convert Lead" button on the detailview screen disappeared. I now have across the top the following: Edit, Duplicate, Delete, Find Duplicates, and View Change Log. No Convert Lead.

    And I did check the code in \modules\Leads\metadata\detailviewdefs.php, and the line referenced earlier is there, so the button should appear, it just not.

    Any thoughts on what could be going on here?

  6. #6
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Lead to Contact

    OK ... I can't replicate on a fresh install of 5.2k or on my sandbox 5.2j (which has some serious modifications).

    Did you originally have the Convert Lead button?

    have you made any code changes outside Studio?

  7. #7
    Moher is offline Member
    Join Date
    Oct 2009
    Posts
    8

    Default Re: Lead to Contact

    Yes, I originally had the "Convert Lead" button, and no, no code changes outside of Studio yet. I'm just starting to get this new install up and running.

    I've done some more digging, and here is what I've found. I think it answers the question "what" but not "why"...

    in \custom\modules\leads\metadata\detailviewdefs.php look at this code for the top of the page:

    PHP Code:
    array (
            
    'buttons' => 
            array (
              
    => 'EDIT',
              
    => 'DUPLICATE',
              
    => 'DELETE',
              
    => 'FIND_DUPLICATES',
            ),
          ), 
    Notice how any reference to the Convert Lead button is gone.

    Now when I look at a sandbox version of 5.2.0j where I did some modifications to the Leads module, I look at the same \custom\modules\leads\metadata\detailviewdefs.php and I find:

    PHP Code:
    array (
                
    => 'EDIT',
                
    => 'DUPLICATE',
                
    => 'DELETE',
                
    => 
                array (
                  
    'customCode' => '<input title="{$MOD.LBL_CONVERTLEAD_TITLE}" accessKey="{$MOD.LBL_CONVERTLEAD_BUTTON_KEY}" type="button" class="button" onClick="document.location=\'index.php?module=Leads&action=ConvertLead&record={$fields.id.value}\'" name="convert" value="{$MOD.LBL_CONVERTLEAD}">',
                ),
                
    => 
                array (
                  
    'customCode' => '<input title="{$APP.LBL_DUP_MERGE}" accessKey="M" class="button" onclick="this.form.return_module.value=\'Leads\'; this.form.return_action.value=\'DetailView\';this.form.return_id.value=\'{$fields.id.value}\'; this.form.action.value=\'Step1\'; this.form.module.value=\'MergeRecords\';" type="submit" name="Merge" value="{$APP.LBL_DUP_MERGE}">',
                ),
                
    => 
                array (
                  
    'customCode' => '<input title="{$APP.LBL_MANAGE_SUBSCRIPTIONS}" class="button" onclick="this.form.return_module.value=\'Leads\'; this.form.return_action.value=\'DetailView\';this.form.return_id.value=\'{$fields.id.value}\'; this.form.action.value=\'Subscriptions\'; this.form.module.value=\'Campaigns\';" type="submit" name="Manage Subscriptions" value="{$APP.LBL_MANAGE_SUBSCRIPTIONS}">',
                ),
              ),
              
    'headerTpl' => 'modules/Leads/tpls/DetailViewHeader.tpl',
            ), 
    The Convert Lead button is still there.

    So right now I'm just inserting this code into the the other detailviewdefs.php and testing to see if it fixes the problem. But why would customizing the detailview in Leads cause Sugar to delete that section of code?

    Inquiring minds want to know.

  8. #8
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 2009-04-26, 10:40 PM
  2. Web to lead - Web to contact??
    By Meyer in forum Help
    Replies: 2
    Last Post: 2009-02-09, 01:24 PM
  3. Lead becomes a contact?
    By abrassell in forum General Discussion
    Replies: 2
    Last Post: 2008-08-12, 09:15 PM
  4. Replies: 2
    Last Post: 2008-02-06, 01:59 PM
  5. Contact to Lead Bug Fix
    By kbrill in forum Downloads
    Replies: 0
    Last Post: 2006-03-16, 09:24 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
  •