By Timur Pozharskiy on Sunday, 26 October 2014
Replies 3
Likes 0
Views 835
Votes 0
Hi!
I'm trying to customize the profile page layout in EasySocial. I need to display several custom fields on the profile page (except those which are displayed there by default).
But I'm struggling to find out how any custom field can be rendered on a page. Tried to edit 'default.header.php' file with no success.
Please advice.
Hope, the best support team can easily help with this

Thank you!
Hello Timur,

Can you try this following example and see how it goes?

$user = Foundry::user('YOUR-USER-ID'); // specific user based on the user-id
// or
$user = Foundry::user(); // current logged user

echo $user->getFieldValue('TEXTBOX-3');

If still can't, can you provide more details regarding with your requirement here?
Example : which custom field you would like to show in your profile header area? Please advise.
·
Sunday, 26 October 2014 12:15
·
0 Likes
·
0 Votes
·
0 Comments
·
It works like a charm.
Thanks Arlex!
·
Sunday, 26 October 2014 22:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating, glad that your issues are resolved now
·
Monday, 27 October 2014 00:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post