Hello everybody,
Í´m currently trying to modify my user-search result list a little bit. I would like to add the userdetails (from the profile page) to the result list... i customized my profile fields to "hobbies, age and what i like". So i would like to have in my result list:
SEARCH RESULT:
hacki
Hobbies: swimming, fishing
Age: 28
What i like: Going out with my friends
user XY
Hobbies: whatever
Age: 22
What i like: Drinking cocktails
I tried to figure out how elgg accesses the data displayed in the user_details.php but i don´t get it. Is there some sort of a global userobject which i can access (like $userobj -> getdetails())?
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.