Add extra fields to OssnProfile

Linux T Posted in Component Development 9 years ago

Im trying to add a extra filed o OssnProfile

Forms edit.php i added
<div>
<label> <?php echo ossn_print('description'); ?> </label>
<input type='text' name="descritivo" value="<?php echo $user->descritivo; ?>" />
</div>

Actions edit.php i added
$user['descritivo'] = input('descritivo');
$OssnUser->descritivo = $user['descritivo'];

But it dont save to db , can someone help?
Thxx

Replies
Indonesian Arsalan Shah Replied 9 years ago

Please see OssnEntities , you can add new entity for user.