Forums | Mahara Community

Support /
Display the full name without email address


Gjorgi M.'s profile picture
Posts: 16

08 January 2012, 15:33

Hi,

I am making modification of our Mahara theme and I would be very gratefull if somebody can tell me how to print only the Full name without email address.

So far I figure out that to display the user you should use {$USER|display_name} inside the template file but this code always produces something like John Doe ([email protected]).   I would like to print out only the full name John Doe.

Thanks in advance.

anonymous profile picture
Account deleted
Posts: 808

08 January 2012, 23:21

Try this:

{$USER|display_name:null:true}
Gjorgi M.'s profile picture
Posts: 16

09 January 2012, 1:45

Thanks Richard, it works.

3 results