You are not logged in.
Pages: 1
Hi there,
Here in Brazil we usually use the name format as Name before Surename.. and I want to set GLPI to work that.
Changing inc/display.function.php I got do appear correctly in Command Center... but I want to get it in all sliding menu of users that contains name and surname as well.
May you help me about that? I really need it...
Thanks...
ps.: my english is not good... sorry.
Offline
I'd like to find out about this as well. I've gone through and modified a lot of .php's to show it the other way around, but its still not 100%.
Offline
Hi!
If numbers count on this, include me on this issue too. It's really annoying in trying to find a name when it's not displayed as we are used to.
Are there any news on this issue, please?
How can we request more "formally" this enhancement?
Offline
To modify name format you only need to change the formatUserName function in db.function.php file.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
Yes, it's possible to directly modify the source, but not every user knows PHP to make such modification, for example. Also, this change will get lost on upgrades (since db.function.php will be overwritten).
An option to select how the name is displayed would be the best option, if possible.
Thank you!
Offline
Just one more thing: if formatUserName is modified to display name + surname (instead surname + name), the combo boxes are still sorted by surname, instead name (that is also bad to find names).
So it seems that it's necessary to have deeper modifications on the source code.
Offline
do you have cache enable ?
I think you see a cache page because formatUserName is used in dropdown.
I create a ticket for your request. We will discuss about it.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
Disabled the cache but I still get the dropdowns sorted by surname.
Offline
OK. I have updated from 0.71.2 to 0.71.5 and they are properly sorted now.
Thanks!
Offline
Sorry you need also to modify dropdownUsersSelect in dropdown.function.php.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
I know its just a band aid, but I just imported the my users through ldap and switched around the First Name( givenname) and Surname (sn) before the import. This made everything work jsut fine in regards to name order without any source code modifications.
The First Name and Surname values are of course switched in the sorting columns, but this is a minor issue and end users would never see that.
GLPI .72
Current plugins - massocsimport
CentOS 5.3
Offline
Pages: 1