[RESOLVED] HELP : How can I display a FEU Id ?
Posted: Mon May 07, 2012 10:41 am
Hi,
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 ?
I also tried the {$ccuser->uid} or {$ccuser->_uid} but they don't exist, where {$ccuser->username()} or {$ccuser->property('email')} are doing well their job.
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 ?
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 ?