I try to display a simple thing : a FEU's ID.
This this seems pretty basic, but after multiple tries, I got no results

This is the last snippet I tried in my UDT but it has no results... What's wrong ?
Code: Select all
global $gCms;
$feu_module = $gCms->modules['FrontEndUsers']['object'];
if( $feu_module )
{
$feu_uid = $feu_module->LoggedInId();
if($feu_uid)
{
echo $feu_uid;
}
}
I want my output to get the user his ID :
#1 Your ID is : 1948
#2 Your name is : Jhon Doe
#3 You email is : jhon@doe.com
As you can see, I'm looking for step #1 output method.
Any advice ?