Dear All,
When I modify profile , I am getting all the first letters as small . For example location if I enter ' Pennsylvania' it is coming as 'pennsylvania' . ( p is small) I searched got the below link
http://community.elgg.org/mod/groups/topicposts.php?topic=266561&group_guid=7
but that didn't help . Could some one please ?
Regards
Kiran
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- bujji1@bujji1
bujji1 - 0 likes
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- bujji1@bujji1
bujji1 - 0 likes
- Per Jensen@gillie
Per Jensen - 0 likes
- bujji1@bujji1
bujji1 - 0 likes
- opensource@OpenSource
opensource - 0 likes
You must log in to post replies.metadata code - has been converting profile tags to lower-case in Elgg ;-P
@DhrupDeScoop :- Thanks a lot for your response . Is this fixable and could you please point me the code if so ?
Thanks again for your help
@bujj1 : use ucfirst();
Thanks Webgalli , confusing part is place . I searched and got the place uderdetails.php and modified the below line
'value' => ucfirst($vars['entity']->$shortname)
for display purpose . But if user enters " New Delhi" as location still we display "New delhi" . Wondering is there any place we can change ?
Regards
Kiran
ucwords uppercase the first character of each word in a string, you could try with that.
Thanks gillie for your tip . I just installed profile manager plugin , I think that plug in resolved the issue altogether . Now I am getting whatever I saved into the database.
Thanks everyone for pointing me to the code and helped . ( Started learning PHP 20 days ago)
where is exactly are we talking here is this in the profile mod folder ? , I have the same problem .