By ronron on Friday, 22 September 2017
Posted in General
Replies 8
Likes 0
Views 220
Votes 0
hi

i would like to display custom fields on the front end or the users profile, maybe near his photo.

how can i do this?

also do you have more information on custom fields?
Hey Ronald,

This requires customization to be performed within your theme file in EasySocial. Here's a brief idea on how you could get the user's details:

1. First, you need to identify the unique field code that is associated with the custom field. http://take.ms/WT6KU

2. Upon obtaining the field code, you could add your codes like this into the theme file,

[gist]
<?php echo $user->getFieldData('JOOMLA_FULLNAME');?>
[/gist]
·
Friday, 22 September 2017 14:37
·
0 Likes
·
0 Votes
·
0 Comments
·
hi

This requires customization to be performed within your theme file in EasySocial.


i cant find any php file except public_html/.../components/com_easysocial/themes/vortex/toolbar/default.php.

is this the right file?

how do i create an image custom field?

i only saw the file upload

thanks
·
Saturday, 23 September 2017 16:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Ronald,

The file that is responsible for rendering the profile page is located in /components/com_easysocial/themes/wireframe/profile/default/default.php

Currently we do not have an "image" custom field and the best resort right now is for you to utilize the "file" custom field.
·
Saturday, 23 September 2017 17:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Currently we do not have an "image" custom field and the best resort right now is for you to utilize the "file" custom field.


is it possible to crop the image? something similar to the profile image wherein you can refocus the image.
·
Sunday, 24 September 2017 00:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Ronald,

Image cropping is only applicable to profile, group, event, page pictures currently and it isn't applicable else where.
·
Sunday, 24 September 2017 00:18
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post