1. stefano.leone
  2. Support
  3. Saturday, September 26 2015, 06:54 PM
Hi,
in Easy Profile component I added a custom text property to users. When the user log in to the site I would like to access this custom field with php code like this:

$user =& JFactory::getUser();
$email = $user->get( 'email' );
$customfiled = $user->get( 'customfiled ' );

but it does't work, can you help me?
admin Accepted Answer
Admin
hi,
you can use our API to get custom field value, docs at https://www.easy-profile.com/docs/38-jsnuser-object.html

JsnUser object extends Joomla JUser object, so you can use also standard JUser functions
  1. more than a month ago
  2. Support
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.