How to show a group of current logged user???

Author Message

danny36 danny36

Tuesday 06 July 2004 12:47:29 am

I show the attribute groups with this code:
{fetch(user, current_user).groups|attribute(show)}

but now I want to show only id of group (node_id) of current user.
somebody help me?!

special thanks

danny36 danny36

Tuesday 06 July 2004 2:32:07 am

this code show "Object ID" of current logged user group:

{let user=fetch( 'user', 'current_user' )}
{$user.groups[0]}
{/let}

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.