[Vtigercrm-developers] How to change the first name - last name order in Solutation.tpl for vtiger 6

Holbok István holbok at gmail.com
Wed Apr 9 18:47:31 GMT 2014


Dear Vtiger Community,

Has anybody idea how to change the first name - last name order in 
Solutation.tpl for vtiger 6?

Kindest regards,
Istvan Holbok

-------- Eredeti üzenet --------
Tárgy: 	How to change Solutation.tpl in vtiger 6
Dátum: 	Sun, 06 Apr 2014 20:38:07 +0200
Feladó: 	Holbok István <holbok at gmail.com>
Válaszcím: 	holbok at gmail.com
Címzett: 	vtigercrm-developers at lists.vtigercrm.com 
<vtigercrm-developers at lists.vtigercrm.com>



Dear Vtiger Community,

In some countries e.g. in Hungary the right order of names is 
"Salutation" "Last name/Surname" and "First name". For example: Dr. 
Horváth Péter, where Horváth is the surname, and Péter is the first name.

The vtiger 6 default order is "Salutation"  "First name" and "Last 
name/Surname", and the salutation pick-list is handled by the file: 
[vtiger roots]/layouts/vlayout/modules/Vtiger/uitypes/Salutation.tpl

The earlier vtiger versions ( < 5.4 ) handled this issue with UITypes 55 
and 255, and it was not easy to modify the smarty template file where 
the condition uitype eq "255" was tested.

In vtiger 6, I can easy change the field order, and the "Last name" will 
appear first, but in the edit view the Salutation pick-list is fixed to 
the first name, e.g.:
http://localhost/vtiger/index.php?module=Contacts&view=Edit&record=10



How can I move the Salutation pick-list before the Last name or how can 
I change the Salutation.tpl in order to achieve it?
This Salutation pick-list is defined in the [vtiger 
roots]/layouts/vlayout/modules/Vtiger/uitypes/Salutation.tpl

-- 
üdvözlettel / regards:

*Holbok István*

+3670-342-0900
*e-mail:* holbok at gmail.com
*SkyPe:* holboki




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140409/99cf18a1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 40807 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140409/99cf18a1/attachment-0001.png>


More information about the vtigercrm-developers mailing list