Friday 17 March 2006 12:13:10 pm
thanks Lukasz. The first part I work myself without problems, but second no, so having the idea I did the following thing:
{let user=fetch( 'user', 'current_user' )}
{let rol_usuario=$user.role_id_list|implode(', ')}
{section show=eq($rol_usuario,'9')}
<a href={"A"|ezurl}>
{/section}
{section show=eq($rol_usuario,'11')}
<a href={"B"|ezurl}>
{/section}
{section show=eq($rol_usuario,'13')}
<a href={"C"|ezurl}>
{/section}
{/let}
{/let}
Not this very pretty the code, but I work myself what wanted to do
|