Lise and Frontend Users [[Solved]]
Posted: Sun Feb 10, 2019 6:09 pm
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:
Hope this helps others.
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;