How should i extract fields from jomsocial (latest version 2.8) so i can showcase anywhere else in the profile? i'm planning to re-design the profile page.
I tried with this code in the profile.about.php but couldn't get it to function.
$data = array( 'type' => 'textarea' , 'value' => $user->getInfo('FIELD_ABOUTME') );
CFactory::load( 'libraries' , 'profile' );
$value = CProfileLibrary::getFieldData( $data );
<?php echo $value; ?>
Fatal error: Call to a member function getInfo() on a non-object in
I'm using jomsocial 2.8 and joomla 2.5. I'm not very familiar with php