Can a class be seen by different users in different ways?

Can a class be seen by different users in different ways?

Friday 23 January 2004 12:34:04 am - 1 reply

Author Message

Wenyue Yu

Monday 26 January 2004 8:30:49 am

Hi,

It might be solved by using only one template with checking wheather the user is logged in.

{let current_user=fetch('user','current_user'}
{section show=$current_user.is_logged_in}
show attributes not available for anonymous users here.
{/section}
...
{/let}

Regards,
wenyue

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.