Results 1 to 5 of 5

Thread: Re Create Email Field

  1. #1
    danrweki is offline Senior Member
    Join Date
    Jun 2008
    Location
    East Africa (Uganda)
    Posts
    111

    Default Re Create Email Field

    Hallo People

    In studio i accidentaly remaoved the email field in the leads module, unfortunately i could not put it back because it was not appearing in the list of fields any more. Any idea how i can bring this field back to my edit and detail views

  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: Re Create Email Field

    Hi danrweki

    You can copy that field from modules/<ModuleName>/metadata/editviewdefs.php to custom/modules/<ModuleName>/metadata/editviewdefs.php

    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.

  3. #3
    danrweki is offline Senior Member
    Join Date
    Jun 2008
    Location
    East Africa (Uganda)
    Posts
    111

    Default Re: Re Create Email Field

    below is the field am tring to replace

    PHP Code:
    => 
            array (
              
    => 
              array (
                
    'name' => 'email_c',
                
    'label' => 'LBL_EMAIL',
              ), 
    when i copy the email field it looks like this

    PHP Code:
      6 => 
            array (
              
    => 
              array (
                  
    'lbl_email_addresses'=>array(
            array(
    'email1')
              ),
              ), 
    unfortunately it does not appera in the edit view, the space is blank. what am i doing wrong

    Thanks for your quick reply

  4. #4
    danrweki is offline Senior Member
    Join Date
    Jun 2008
    Location
    East Africa (Uganda)
    Posts
    111

    Default Re: Re Create Email Field

    Now i have this (see code below), it shows a filled but populated with http:// by default. Any way when i save the lead it does not seem to save it in the db, all in all is the code below correct still

    PHP Code:
    => 
            array (
              
    => 
              array (
                
    'name' => 'email_addresses',
                
    'label' => 'LBL_EMAIL_ADDRESSES',
                array(
    'email1')
              ), 

  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: Re Create Email Field

    Hi danrweki

    PHP Code:
       'lbl_email_addresses'=>array(
            array(
    'email1')
       ), 
    "lbl_email_addresses" is a panel in the view;
    "email1" is the field itself.

    You can copy the email1 field into a empty space in the editviewdefs.php.

    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. Poll: Dump Sugar Mail and integrate something better?
    By bjs3 in forum General Discussion
    Replies: 246
    Last Post: 2011-11-23, 04:05 PM
  2. email marketing feature requests
    By maxsutter in forum Feature Requests
    Replies: 1
    Last Post: 2008-10-11, 10:19 AM
  3. Import email attachment - Create Task
    By dgoldwine in forum Help
    Replies: 0
    Last Post: 2008-05-02, 05:24 PM
  4. Replies: 2
    Last Post: 2008-04-01, 07:23 PM
  5. Replies: 2
    Last Post: 2008-03-28, 08:25 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
  •