normal Welcome Message

11 years 9 months ago #1843 by jacy palaspas
my client has your OT Lightbox 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.

11 years 9 months ago #1849 by Linh Robert
Replied by Linh Robert on topic Re: Welcome Message
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.


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 Warning: Undefined variable $target in /home/omegatheme/public_html/components/com_kunena/template/aurelia/layouts/bbcode/url/default.php on line 32

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

Time to create page: 0.237 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