Problems with $current_user fetch

Problems with $current_user fetch

Sunday 25 December 2005 7:43:11 pm - 1 reply

Author Message

Kristof Coomans

Monday 26 December 2005 2:09:54 am

Try {$user.contentobject.data_map.first_name.content}.

The user/current_user fetch function returns an eZUser object, the contentobject attribute of that user object will return an eZContentObject object, the data_map attribute of that eZContentObject object will return an array of ContentObjectAttribute objects with the attribute identifiers as array keys.

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

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.