normal Welcome Message

More
11 years 7 months ago #1843 by jacy palaspas
my client has your OT Lightbox Login..im using it now in Joomla 2.5.x

In welcome message: Hi {Insert Whole Name Here}
this is the code: echo JText::sprintf('MOD_OTLIGHTBOXLOGIN_HINAME', $user->get('name'));
how to change from whole name to First Name?
i tried this code: echo JText::sprintf('MOD_OTLIGHTBOXLOGIN_HINAME', $user->get('FIELD_GIVENNAME'));

Registration is First Name and Last Name..

is this possible to have a welcome message: Hi {Insert First Name Here}

sorry for my bad english..

hope you can help me on this..

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #1849 by Linh Robert
Replied by Linh Robert on topic Re: Welcome Message
Hi,
There is not any option to show "Hi {first name}" because after register the com_users do not save the First name or Last name, just save the Name = First name + Last name.

This mean the table user also do not have any field to contains First or Last name, just Full Name.

So there is no way to do so.

Thanks

If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/

Please Log in or Create an account to join the conversation.

Time to create page: 0.227 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam