Jump to content

how do I change the capital letters in the sir-name


Recommended Posts

can someone tell me how to change the capital letters in the sir-name when signing ind
as a new customer.
In Denmark and a lot of other places, we use small letters. Only the first letter
of name and sir-name are capital letters.

Link to comment
Share on other sites

  • 4 weeks later...

Hi

You should be able to override the default upper-case behaviour (what is displayed) using a smarty variable modifier.

Open the folder blockuserinfos in modules, edit blockuserinfo.tpl find this line

{$customerName}



and change to

{$customerName|lower}



save the file

However, this may not answer your question fully, but after uploading the changes I was able to add a new account with the name in lower case -so hopefully yes

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...
I solved the problem by removing all the strtoupper() in the code. This may not be the proper way to do it, but it works. I have attached my diff (version 1.1).



Cheers,
Kjeld


Thanks Kjeld,

I will try to remove them to see if it helps me..

/Henrik
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...