Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
01-19-2013, 09:11 AM #1
- Join Date
- Jan 2013
- Thanked 0 Times in 0 Posts
Joomla: extract field from Jomsocial's profile field.
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