hi all,
this works fine :
{if $ccuser->loggedin()}
You're logged in
{else}
Please log in
{/if}
This does not work for me:
{if $ccuser->loggedin() && $ccuser->memberof('users')}
You're logged and belong to group "users"
{else}
No access permitted
{/if}
the user id i'm testing belongs in FEU to "users" group but this last code give me no access as if i had no group or if the user belongs to another group....
anyone can help me ?
really thanks.
eric
FEU: $ccuser-> memberof does not work (for me) !!!!
Re: FEU: $ccuser-> memberof does not work (for me) !!!!
I don't think you need the if $ccuser->loggedin() part just the if $ccuser->memberof('users') because they can't be a member if they aren't logged in...
Re: FEU: $ccuser-> memberof does not work (for me) !!!!
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -