Results 1 to 1 of 1

Thread: Editing notification email template

  1. #1
    l1dd1ard is offline Junior Member
    Join Date
    Sep 2008
    Posts
    2

    Question Editing notification email template

    I am trying to change the notification e-mail template by editing the file \include\en_us.notify_template.html

    I would like to send extra information in the email such as mobile phone and possibly some custom field data. I have added the mobile phone line as shown below.


    <!-- BEGIN: Lead_Subject -->
    SugarCRM Lead - {LEAD_NAME}
    <!-- END: Lead_Subject -->
    <!-- BEGIN: Lead -->
    {ASSIGNER} has assigned a Lead to {ASSIGNED_USER}.

    Name: {LEAD_NAME}
    Lead Source: {LEAD_SOURCE}
    Status: {LEAD_STATUS}
    Description: {LEAD_DESCRIPTION}
    Mobile Phone: {LEAD_PHONE_MOBILE}

    I have also modified /modules/Leads/Lead.php

    $xtpl->assign("LEAD_NAME", $locale->getLocaleFormattedName($lead->first_name, $lead->last_name, $lead->s$
    $xtpl->assign("LEAD_SOURCE", (isset($lead->lead_source) ? $app_list_strings['lead_source_dom'][$lead->le$
    $xtpl->assign("LEAD_STATUS", (isset($lead->status)? $app_list_strings['lead_status_dom'][$lead->status]:$
    $xtpl->assign("LEAD_DESCRIPTION", $lead->description);
    $xtpl->assign("LEAD_MOBILE_PHONE", $lead->phone_mobile);


    In the email i get the new field (Mobile Phone). I don't get the phone numbers in the email.

    Any help greatly appreciated.
    Last edited by l1dd1ard; 2008-09-08 at 12:41 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. HOW-TO guide for Email Campaigns.
    By agupta in forum Marketing/Campaign Management
    Replies: 146
    Last Post: 2012-01-31, 03:08 PM
  2. Working with campaings
    By lopes80andre in forum Marketing/Campaign Management
    Replies: 2
    Last Post: 2008-05-16, 07:43 AM
  3. editing notification e-mail template
    By sbantz in forum Help
    Replies: 2
    Last Post: 2007-10-12, 01:35 PM
  4. Replies: 0
    Last Post: 2007-05-09, 09: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
  •