Results 1 to 3 of 3

Thread: Left Col - Accounts Quick Create > ADD EMAIL FIELD ?

  1. #1
    damanic is offline Member
    Join Date
    Feb 2008
    Posts
    8

    Post Left Col - Accounts Quick Create > ADD EMAIL FIELD ?

    Hi There,

    I have edited the left column 'quick create' form for Accounts by editing sidecreateviewdefs.php

    Heres the relevant code"

    PHP Code:
     'panels' =>array (   'DEFAULT' =>   array (     array(       
    array(
    'name'=>'title_salutation_c''label'=>$mod_strings['LBL_TITLE_SALUTATION'],'displayParams'=>array('size'=>10)),     ),    
     array (       array(
    'name'=>'firstname_c''label'=>$mod_strings['LBL_FIRSTNAME'],'displayParams'=>array('required'=>true,'size'=>25)),     ),    
     array(       array(
    'name'=>'surname_c''label'=>$mod_strings['LBL_SURNAME'],'displayParams'=>array('required'=>true,'size'=>25)),     ),    
     array(       array(
    'name'=>'billing_address_postalcode''label'=>$mod_strings['      LBL_BILLING_ADDRESS_POSTALCODE'],'displayParams'=>array('required'=>true,'size'=>10)),     ),     
    array (       array(
    'name'=>'emailAddressWidget''displayParams'=>array('required'=>true'size'=>11)),     ),   ),   ) 
    The last one 'emailAddressWidget' obviously doesnt work. Looking at the studio I dont see a field for email, and looking at the html forms that allow email input I can see that it is a javascript generated multi-input box.

    So the question is, how do I get this email input box to appear in the quick create form? Can it be done using the methods shown in sidecreateviewdefs.php or does it need a hack?

    Kind Regards,
    Matt M.

  2. #2
    rippleminder is offline Member
    Join Date
    Apr 2011
    Posts
    6

    Default Re: Left Col - Accounts Quick Create > ADD EMAIL FIELD ?

    sugar 6.1.4 ce

    login as admin

    click employees
    edit and employee
    click [+]

    Email Address: [+] Primary Reply-to

    get js error i firebug

    SUGAR.EmailAddressWidget is undefined

    fix?

  3. #3
    rippleminder is offline Member
    Join Date
    Apr 2011
    Posts
    6

    Default Re: Left Col - Accounts Quick Create > ADD EMAIL FIELD ?

    sugar crm 6.1.4 ce

    login as admin
    go to employees

    edit an employee

    click [+] in Email Address: [+] Primary Reply-to

    get firebug js error SUGAR.EmailAddressWidget is undefined

    fix?

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: 2007-04-26, 07:43 PM
  2. Replies: 2
    Last Post: 2006-07-30, 01:34 AM
  3. Replies: 7
    Last Post: 2006-07-10, 05:50 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
  •