I need some help.
Easy Profile allow to create many different custom fields, to use in registration forms.
Very nice. But....
I need to 'extract' from user profile (when he logged to the site) its information to use in some html code.
Usually, I create a new variable where I store user array using Joomla command:
$user = JFactory::getUser();
Doing this, I dump content of this array to get value of a custom field I created (my-custom-lastname field), but I don't see any of the custom fields I make.
I see only core Joomla fields!
Because I can always know user_id through command:
$user_id=var_dump(JFactory::getUser()->get('id'));
How Can I subsequently get all custom fields I created?
Thanks!!