CMS MADE SIMPLE FORGE

LISE

 

[#12247] LISE Doesn't like new FEU module - FIX

avatar
Created By: Darren Kierman (kierweb)
Date Submitted: Wed Jan 15 06:00:19 -0500 2020

Assigned To:
Version: 1.3.1
CMSMS Version: 2.2.13
Severity: Major
Resolution: None
State: Open
Summary:
LISE Doesn't like new FEU module - FIX
Detailed Description:
I've managed to get LISE to function correctly with the new version of FEU by
doing the following...

/lib/fielddefs/FEUSingleSelect/lisefd.FEUSingleSelect.php

within "public function GetFEUUserList()"

Change 
    $tmpusers = $FEU->GetUsersInGroup($group);
to
    $groupname = $FEU->GetGroupName($group);
    $tmpusers = feu_smarty::get_users_by_groupname($groupname); 

within "public function RenderForAdminListing($id, $returnid)"

Change
   $user = $FEU->GetUserName($value[0]);
to
   $user = feu_smarty::get_username($value[0]); 

NOTE: I have noticed though, "username" as a FEU Field isn't possible without
further investigation as it produces a ID rather than a fieldname for the
"GETFEUUserList" function, but if you leave it blank, the system uses username
anyway! Also this only makes the "FEUSingleSelect" fielddef work.


History