TOPIC: Welcome Message

Welcome Message 10 years 9 months ago #1843

  • jacy
  • jacy's Avatar
  • OFFLINE
  • 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 10 years 9 months ago #1849

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