We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
General
General Support
Search
Hide content when user logs in
433 Posts
lw-d
Reply #1,
19 years, 3 months ago
Simple problem, not sure why I can’t figure it out. I basically want to hide a graphic when a user logs in.
Thanks
http://www.blend.uk.com
| Web Design by Blend
3,975 Posts
Zaigham (aka zi)
Reply #2,
19 years, 3 months ago
Use Personalize snippet, put the picture in noChunk.
Zaigham R -
MODX Professional
|
Skype
|
Email
|
Twitter
Digging the interwebs for #MODX gems and bringing it to you.
modx.link
634 Posts
Lammikko
Reply #3,
19 years, 3 months ago
If it’s a snippet:
// if not logged in manager if (!isset($_SESSION['mgrValidated'])) { //image etc }
Mikko Lammi,
Owner at Maagit
433 Posts
lw-d
Reply #4,
19 years, 3 months ago
Hi, just trying the personalize snippet now, can’t think why I have never used this before
http://www.blend.uk.com
| Web Design by Blend