[Vtigercrm-developers] How to change Solutation.tpl in vtiger 6

Holbok István holbok at gmail.com
Sun Apr 6 18:38:07 GMT 2014


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/20140406/95c24ec2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtedit.png
Type: image/png
Size: 40807 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140406/95c24ec2/attachment-0001.png>


More information about the vtigercrm-developers mailing list