Is it possible to use the $modx->getLogin... functions in the usersList filter ?
Because I’ve tried this but it doesn’t work :
[!WebLoginPE? &type=`users` &usersList=`Only me:default:default:username:ASC:username($modx->getLoginUserName())`!]
I suppose it’s the way WebLoginPE parse the usersList (exploding the brackets). Is there a way to get it work ? I also tried to make a snippet :
$myuser=$modx->getLoginUserName();
$params=('type'=>'users','usersList'=>"Only me:default:default:username:ASC:username($myuser)" );
$modx->runSnippet('WebLoginPE',$params);
But it doesn’t work. Have I done something wrong ?