Welcome FirstName instead of UserName
I want to welcome people by their first name, not their login name.
Here is current code from authobox.tpl:
<td class="VertMenuItems" valign="top">
<b>Welcome {$login}!</td>
This displays "Welcome UserName!".
However, simply replacing {$login} with {$firstname} or {$userinfo.firstname} doesn't bring me the first name; it just shows "Welcome !".
I tried cloning what I found in
1) Fast_Lane_Checkout/customer_details_html.tpl, where it plugs the first name into an edit field by referencing {$userinfo.firstname}; and
2) Fast_Lane_Checkout/checkout_2_method.tpl, where it displays a number of customer profile fields as text on the page, (I tried {$userinfo.b_zipcode} just to see if another type of field might work) but alas ...
in both cases to no avail.
I have tried turning on the Greet Visitor module, but that didn't work either. We're using the above code in conjunction with a customized logout routine which evidently overrides the normal GreetVisitor approach. I have also searched the forums about ten ways looking for an answer. (I was optimistic when I saw the GreetVisitor solution offered to someone.)
Seems like this should be pretty simple, so I'm probably overlooking an obvious thing.
Thank you.
|