Page 1 of 1

Lise and Frontend Users [[Solved]]

Posted: Sun Feb 10, 2019 6:09 pm
by magallo
This is a solution I found useful in reply to this older topic:
viewtopic.php?f=7&t=78127

The current LISE 1.3.1 in CMSMS 2.2.9.1 doesn't allow you to create a FEU field to select existing users and display them in a dropdown so I had to make a UDT and inside I added:

Code: Select all

$feu = cge_utils::get_module('FrontEndUsers');
$feusers = $feu->GetFullUsersInGroup(1);
$list = array();
foreach ($feusers as &$user) {
    $list[$user['id']] = $user['username'];
}
return $list;
Hope this helps others.