Hi there,
I'll ask about loading $user->getProfile()->get('id') in other elements of ES.
It perfectly works in eg. default.header.php, but when I'll load this in eg. themes/wireframe/videos/default.php it show me and error:
Notice: Undefined variable: user in /components/com_easysocial/themes/wireframe/videos/default.php on line 79
Fatal error: Call to a member function getProfile() on a non-object in /components/com_easysocial/themes/wireframe/videos/default.php on line 79
which line of code I need to copy (in controller I suppose) to load actually viewed user Profile Type ID?
I'll be very grateful for your help!
Best regards!
Adam