fetch user name from user_id or object_id

fetch user name from user_id or object_id

Monday 27 March 2006 1:50:17 am - 2 replies

Author Message

Kristof Coomans

Monday 27 March 2006 2:35:27 am

{def $user=fetch('content', 'object', hash( 'object_id', $user_id ) )}
{$user.name|wash}
{undef $user}

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

nigel dodd

Monday 27 March 2006 2:40:14 am

Well, of course it is

let myuser=fetch('content',object,hash(object_id,$topten.user_id))

Now, why could I not find that easily in the documentation?

Thanks Kristof, you beat me to my own reply!

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.