Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Last name in uppercase / capitalize

5 years 6 months ago
  • Robert's Avatar
    Topic Author
  • Robert
  • Offline
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Licenses:
JomSocial Active

Hi,
Using JomSocial custom profile field "Last Name" and would like this to be uppercase / capitalized always.
I thought by entering "uppercase" in Style Attribute, this would do the trick, but I see no difference.
Anything I am missing?
Thanks for help!

5 years 6 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Robert,

You need hack the code for it, I am not sure it will help but you can open this file components/com_community/libraries/user.php, find this code :

return CStringHelper::escape($name);

replace to :
return CStringHelper::escape(strtoupper ($name));

I hope it will help

thank you

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW