View Single Post
  #5  
Old 09-06-2010, 07:10 AM
 
geckoday geckoday is offline
 

X-Wizard
  
Join Date: Aug 2005
Posts: 1,073
 

Default Re: "Firstname, Lastname": Can you count characters?

That's why I set the flag to truncate on a word boundary so it would truncate the whole last name if its over 30 characters. The only problem you should run into is a long first name with a two part last name like Robertthegreatestmanalive Van Buren which will display as Robertthegreatestmanalive Van or first names longer than you have room for.

To do exactly what you want you'll need to modify the php code in a couple of places where the cookie gets set - login and register I believe, search for "greet" to find the spots. The cookie will only get updated when customers login so it may take a while before it gets propagated to all users. Or you could change the cookie name and start all users over with no greeting.
__________________
Manuka Bay Company
X-Cart Version 4.0.19 [Linux]

UGG Boots and other fine sheepskin products
http://www.snowriver.com
Reply With Quote