Posts: 63
Threads: 26
Joined: Oct 2011
Is there a way to make usernames UPPERCASE?
I did achieve this in top right corner with:
Code:
.wrapper #pill li.rightnav b
{
text-transform:uppercase;
}
However, I am not particularly happy with it.
Is there a way to alter this? - Or maybe have "First Last" username?
Thanks!
Posts: 679
Threads: 80
Joined: Nov 2009
The reason the username is lowercase is because it is also the name of the file. PHP requires that you use exact capetilization so we decided to force lowercase usernames when adding users. At the time this was the simplest option.
However I will check but we may be able to change the code a little on the header to fix this.
Sorry for the slow response.
Matthew
Posts: 63
Threads: 26
Joined: Oct 2011
Thanks!
OWS_Matthew Wrote:The reason the username is lowercase is because it is also the name of the file. PHP requires that you use exact capetilization so we decided to force lowercase usernames when adding users. At the time this was the simplest option.
However I will check but we may be able to change the code a little on the header to fix this.
Sorry for the slow response.
Matthew
Posts: 661
Threads: 52
Joined: Feb 2011
9 characters is all it takes to accomplish this:
- Open admin/template/include-nav.php
- Around line 13 you should see the below variable:
- Replace ONLY the $USR variable with the below coding
The ucfirst($str) function capatilizes the first letter of a string.
Note that 'alphabetic' is determined by the current locale. For instance, in the default "C" locale characters such as umlaut-a (ä) will not be converted.