[Vtigercrm-commits] [vtiger development] #4087: i18n issue with salutation for customer portal messages

vtiger development vtiger-tickets at trac.vtiger.com
Wed Jul 18 06:06:24 EDT 2007


#4087: i18n issue with salutation for customer portal messages
-----------------------+----------------------------------------------------
 Reporter:  frankpie   |       Owner:  developer
     Type:  defect     |      Status:  new      
 Priority:  minor      |   Milestone:  5.0.4    
Component:  vtigercrm  |     Version:  5.0.3    
 Keywords:             |  
-----------------------+----------------------------------------------------
 All emails in reference to a customer portal assignment are starting with
 a language string in reference to 'Dear'. This works only in English. It
 is better to use the salutation string to be specific about the gender of
 the message receiver. I did the following changes:[[BR]]
 in CommonUtils.php[[BR]]
 replace around line 2843
 $contents = $mod_strings['Dear']." ".$request_array['first_name']."
 ".$request_array['last_name'].",<br><br>";[[BR]]
 by:
 $contents = $request_array['salutationtype']."
 ".$request_array['last_name'].",<br><br>";[[BR]]
 [[BR]]
 in Save.php for Contacts replace around line 181[[BR]]
 add after $data_array = Array();[[BR]]
 $data_array['salutationtype'] = $_REQUEST['salutationtype'];[[BR]]
 [[BR]]
 in DetailViewAjax.php for Contacts replace around line 86[[BR]]
 add after $data_array = Array();[[BR]]
 $data_array['salutationtype'] = $cntObj->column_fields['salutationtype'];

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4087>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list