To prove to be typical of a node

To prove to be typical of a node

Thursday 11 August 2005 12:01:26 pm - 2 replies

Author Message

David Eriksson

Friday 12 August 2005 12:39:15 am

I'm not 100% I'm understanding what you're looking for, but soemthing like this?

{def $current_user=fetch('user', 'current_user')}
{if eq($current_user.contentobject_id, $node.object.owner_id)}
  ...
{/if}

If you just want to print the owner:

{$node.object.owner.name}

/David

Rafael Andres Gonzalez Lopez

Friday 12 August 2005 5:26:57 am

Thank you David this last instruction was the one that he needed.

Now achieve what was searching... Thank you.

Rafael Gonzalez

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.