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.

PHP Code:
= array( 'type' => 'textarea' 'value' => $user->getInfo('FIELD_ABOUTME') );
CFactory::load'libraries' 'profile' );
$value CProfileLibrary::getFieldData$data );
echo $value?>
Got error:
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