<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body smarttemplateinserted="true" text="#000000" bgcolor="#FFFFFF">
Dear Vtiger Community,<br>
<div class="moz-forward-container"><br>
Has anybody idea how to change the first name - last name order in
Solutation.tpl for vtiger 6?<br>
<br>
Kindest regards,<br>
Istvan Holbok<br>
<br>
-------- Eredeti üzenet --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Tárgy: </th>
<td>How to change Solutation.tpl in vtiger 6</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Dátum: </th>
<td>Sun, 06 Apr 2014 20:38:07 +0200</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Feladó:
</th>
<td>Holbok István <a class="moz-txt-link-rfc2396E" href="mailto:holbok@gmail.com"><holbok@gmail.com></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Válaszcím:
</th>
<td><a class="moz-txt-link-abbreviated" href="mailto:holbok@gmail.com">holbok@gmail.com</a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Címzett:
</th>
<td><a class="moz-txt-link-abbreviated" href="mailto:vtigercrm-developers@lists.vtigercrm.com">vtigercrm-developers@lists.vtigercrm.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:vtigercrm-developers@lists.vtigercrm.com"><vtigercrm-developers@lists.vtigercrm.com></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Dear Vtiger Community,<br>
<br>
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.<br>
<br>
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<br>
<br>
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.<br>
<br>
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.:<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://localhost/vtiger/index.php?module=Contacts&view=Edit&record=10">http://localhost/vtiger/index.php?module=Contacts&view=Edit&record=10</a><br>
<img alt="" src="cid:part2.04080608.07000608@gmail.com"
height="345" width="1525"><br>
<br>
<br>
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?<br>
This Salutation pick-list is defined in the [vtiger
roots]/layouts/vlayout/modules/Vtiger/uitypes/Salutation.tpl<br>
<br>
<div class="moz-signature">-- <br>
üdvözlettel / regards:<br>
<br>
<b>Holbok István</b><br>
<br>
+3670-342-0900<br>
<b>e-mail:</b> <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:holbok@gmail.com">holbok@gmail.com</a><br>
<b>SkyPe:</b> holboki<br>
<br>
</div>
<br>
</div>
<br>
<br>
</body>
</html>