Hi everybody, I would like to verify if someone is logged in and change a menu accordingly. Is it possible to know what code I can use to verify this ?
Cordialy,
Max2817
In a template:
{if $user.isRegisteredUser} . . . {/if}
Thanks, I know now but it's in a php page and I include the Gallery by embedding. edit: I have found it, by isset($_COOKIE['GALLERYSID']).
That's not a general solution as there are many situations where a guest user gets a session id as well.
Posts: 4342
In a template:
{if $user.isRegisteredUser} . . . {/if}Posts: 28
Thanks, I know now but it's in a php page and I include the Gallery by embedding.
edit: I have found it, by isset($_COOKIE['GALLERYSID']).
Cordialy,
Max2817
Posts: 4342
That's not a general solution as there are many situations where a guest user gets a session id as well.