<![CDATA[ Web user placeholder don't works :-( - My Forums]]> https://forums.modx.com/thread/?thread=75104 <![CDATA[Web user placeholder don't works :-(]]> https://forums.modx.com/thread/75104/web-user-placeholder-don-t-works#dis-post-416250 i have a big issue with LoginPE:
i have this call
[!WebLoginPE? &type=`register` &regType=`instant` &registerTpl=`Form-Registrazione` &groups=`QualityTime` &liHomeId=`1` &regSuccessId=`1` &customFields=`regione,provincia` &regRequired=`email,username,fullname,password,regione`!]

the registration step is ok, the user is saved in database, but when the user is logged-in, the placeholder like this [+user.fullname+] don't work... i have placed this placeholder in my home page template for display a customised message to user that is logged...

Any help is very helpfull
thx
]]>
fabryshock Mar 16, 2012, 04:37 AM https://forums.modx.com/thread/75104/web-user-placeholder-don-t-works#dis-post-416250
<![CDATA[Re: Web user placeholder don't works :-(]]> https://forums.modx.com/thread/75104/web-user-placeholder-don-t-works#dis-post-417115
$full_name  = $_SESSION['webFullname'];
return $full_name;


Or this in a snippet to get the username:

$short_name  = $_SESSION['webShortname'];
return $short_name;

]]>
nuwebstudios Mar 22, 2012, 10:04 AM https://forums.modx.com/thread/75104/web-user-placeholder-don-t-works#dis-post-417115