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.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks