Yetiforcecrm: [Lastname] [Firstname]

Created on 1 Dec 2015  ยท  18Comments  ยท  Source: YetiForceCompany/YetiForceCRM

vtiger
hello,
How can i change the display of full name of users to [Firstname] [Lastname] ? it displays too on "assigned to"and everything else, how can i change it ?

regards

โ” question

Most helpful comment

I followed yozhi's advice and made the change at the DB level. I had to go through phpMyAdmin to make the changes. Here's a detailed list of what I did:
Found my Yeti Database
Went in to the vtiger_entityname table
Edit "Users" under the "modulename" column
Both the fieldname and the searchcolumn values were set to last_name,first_name
I changed both of these fields to first_name,last_name and this seems to have fixed my issue.

I hope this helps other users.

All 18 comments

I suppose through language managment find the language you use edit language find the module you refer And Change it.

i didn't find it in language managment, any more idea how i can change it ?

if someone got this like i want , could upload your Yetiforce files for the followings paths: models/users;
models/customview ; models/vtiger ; include/utils. i would be grateful , and if you got the developer version, it would be better

I have managed the first name..but the last name not yet

where did you do that? i couldn't found it and its important for me to do that

The only thing i did was from translation. The Last name i also translate it but its doesnt want to be translated. Look at language managment for vtiger settings module. I Dont remember clearly but there Must to be. Ctrl+f And search for Last name.

at language management we only can translate the labels name, not the way we see the labels , if you know what i mean

Ok sorry misunderstood. I can not help you on this. Hope to find your answers.

no problem, thank you anyway

Check this table: vtiger_entityname. Be careful what you do!

dont worry, but it resulted, thank you very much, i was searching ,but i forgot to search on mysql haha one more time, thank you very much

In vtlib/Vtiger/Functions.php after line 471 add this two lines:
if ($module == 'Users') {
$label_name=array_reverse($label_name);
}
This has not been tested and I don't know what are all the consequences of this hack, so do it on your own responsibility.

@nikdejan Do you like to spoil the system? ;)

Well, maybe... sometimes ;-)

And if I don't spoil the system who is going to pay you to fix it? ;-)

the easy was to change on database, its easier

i spent many hours trying to change the system and was a waste of time

I followed yozhi's advice and made the change at the DB level. I had to go through phpMyAdmin to make the changes. Here's a detailed list of what I did:
Found my Yeti Database
Went in to the vtiger_entityname table
Edit "Users" under the "modulename" column
Both the fieldname and the searchcolumn values were set to last_name,first_name
I changed both of these fields to first_name,last_name and this seems to have fixed my issue.

I hope this helps other users.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vovpff picture vovpff  ยท  3Comments

ldgbc picture ldgbc  ยท  3Comments

ezbank picture ezbank  ยท  3Comments

RedMoon27 picture RedMoon27  ยท  3Comments

johntonji picture johntonji  ยท  3Comments