The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Last name in uppercase / capitalize

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

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!

7 years 11 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0

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