Currently logged in as First Name
Permalink Browser Info Environment
I am using your login addon for a membership site that is not capturing a username with login, but using the email address. As such, I would like to present the user's first name instead of their username for:
Currently logged in as...
I tried editing the view.php file lone 12 from:
to
but wasn't so lucky.
I am a novice at C5 and PHP, but have made a number of complex modifications to my site and addons so far. Wondering if you are open to pointing me in the right direction.
Thanks.
Currently logged in as...
I tried editing the view.php file lone 12 from:
$userName = $u->getUserName();
to
$userName = $ui->getAttribute('first_name_reg');
but wasn't so lucky.
I am a novice at C5 and PHP, but have made a number of complex modifications to my site and addons so far. Wondering if you are open to pointing me in the right direction.
Thanks.
Type: | Discussion |
---|---|
Status: | New |