Welcome, Guest
Username: Password: Remember me

TOPIC: Welcome Message

Welcome Message 9 years 1 month ago #1843

  • jacy
  • jacy's Avatar
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
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..
The administrator has disabled public write access.

Re: Welcome Message 9 years 1 month ago #1849

  • linh_omg
  • linh_omg's Avatar
  • Moderator
  • Posts: 908
  • Thank you received: 568
  • Karma: 25
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 www.omegatheme.com/member/
The administrator has disabled public write access.
Time to create page: 0.220 seconds