$user.login

$user.login

Wednesday 15 June 2005 2:07:22 pm - 1 reply

Modified on Wednesday 15 June 2005 2:09:25 pm by Rene Sack

Author Message

Tom Couwberghs

Wednesday 15 June 2005 2:20:29 pm

Hi Rene,

Try this:

{def $user=fetch('user', 'current_user')}
{$user|attribute(show)}

The attribute(show) function will give you an overview of an object's attributes, you can adress attributes with a '.'. So to display the login you would use {$user.login}

Hope this helps,

Tom

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.