Hi,
I looking for a tip to test on the template, if the user is connected to the Manager.
If yes, I want to use this chunck, if not, another chunk.
How can I do ?
-
☆ A M B ☆
- 24,524 Posts
Which version of MODx? There are lots of snippets that check for logged-in users; or you can write a simple snippet to check the SESSION yourself. I believe that Revo has a phx-style conditional for doing this sort of thing.
Sorry : I running MODX Revo 2.0.7
I’d a look in the snippets repository but I didn’t find anything...
Is someone know is name or the code to check the session ?