solved Hide content from logged in users

Eddy
Eddy
@eddy
9 years ago
479 posts
I have a banner on my main page which I only want visitors to see, when logged in I want to show something else on that space, any code for this?

Thanks

Eddy
updated by @eddy: 03/21/16 02:04:04AM
SteveX
SteveX
@ultrajam
9 years ago
2,584 posts
Try this:
{if jrUser_is_logged_in()}show to logged in user{else}show to not logged in visitor{/if}



--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
Eddy
Eddy
@eddy
9 years ago
479 posts
Perfect, thank you.

Eddy

Tags