2017-02-07, 01:55:19
Hi,
i'm using Frontainer tu manage my users.
i need to display Users informations about 1 user and for that i do :
But with this solution datas are displaying without filtering on position and i don't know how to retrieve datas filtering on position.
If you have any idea.
i'm using Frontainer tu manage my users.
i need to display Users informations about 1 user and for that i do :
Code:
$imanager = imanager();
$user = $imanager->getItem('slug=Users', $userid );
Code:
foreach ($user->fields as $data) {
if (isset($data->value)) {
echo '
<tr>
<th>' . $data->label . '</th>
<td>' . $data->value . '</td>
</tr>
';
}
}
But with this solution datas are displaying without filtering on position and i don't know how to retrieve datas filtering on position.
If you have any idea.