Hey everyone, quick question:
What I want my site to do is essentially check to see if a user is logged in, to show them one page, and if not logged in, to show them another version of that page (with maybe some buttons "greyed out" as if they were inaccessible). However, I also don’t want accessing the logged in page to be child’s play (by the user somehow typing the direct URL of logged in page). Is there anyway to do this easily with ModX?
For more information: User Log in will be handled through a floating window that loads on top of the page when the user clicks "log in". After logging in, the user is taken to a page where they have access to ALL the same links as public users, but they will now see the "private" features enabled on all of those pages (whereas the public users see buttons on those pages grayed out or they get a message saying they need to log in).
P.S. By any chance, does this have something to do with session cookies and having the web page check, in the head of the document, whether a session is active or not?
Thanks for all your help