Thursday 13 July 2006 7:57:30 am
How silly I am. Every user class has an ezuser attribute. By default, it is named user_account. Thus, to get the ezuser object with ID 785, simply do this:
{def $user=fetch( 'content', 'object', hash( 'object_id', 785 ) ).data_map.user_account.content}
(It's pretty cool that the eZ template language can interpret dotted function output, something PHP - the underlying "programming" language - cannot!)
Leif Arne Storset
|