How to get the User ID of the FrontEndUser?
Posted: Thu Nov 25, 2010 9:29 am
Hello does anyone know how I can get the UserID of a Front-end-user?
I have tried the following
I have tried the following
- {$ccuser->userid()}
{$ccuser->userid}
{$ccuser->uid()}
{$ccuser->uid}
{$ccuser->property('userid')}
Code: Select all
{cms_module module="CustomContent"}
{if $ccuser->loggedin()}
{cms_module module="FrontEndUsers" form="changesettings"}
UserID
{else}
{cms_module module="FrontEndUsers" nocaptcha="0" returnto="63"}
{cms_module module="FrontEndUsers" form="forgotpw"}
{/if}