Access User variable from within content

Access User variable from within content

Wednesday 31 January 2007 3:07:56 pm - 2 replies

Author Message

Ɓukasz Serwatka

Thursday 01 February 2007 12:08:58 am

You can get owner information like:

{$node.object.owner.name} where "owner" is ezcontentobject. You can inspect it like:

{$node.object.owner|attribute(show,1)}

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

ola adigun

Thursday 01 February 2007 7:59:11 am

When I do this: {$node.object.owner.name} directly inside the body of an article it just prints it back. I guess that only works within a template. What I need is a way to access that same information within the body of an article content.

Thanks,
Ola

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.