I am having problems with the Login snippet. I am sure it something I do not understand.
I trying to learn revo, I have it running under MAMP. I used the package manager to install Login. I created a test user and logged in with that account on the page with the snippet.
[[!Login? &loginResourceId=`1`]]
It correct redirects me to page one. On anther page I have this code.
<p>Prints the ID: [[+modx.user.id]]</p>
<p>Prints the username: [[+modx.user.username]]</p>
<p>Prints the fullname: [[+modx.user.id:userinfo=`fullname`]]</p>
Which displays...
[tt]
Prints the ID:
Prints the username: (anonymous)
Prints the fullname: Admin User
[/tt]
When I go to the page as admin I get this...
[tt]
Prints the ID: 1
Prints the username: admin
Prints the fullname: Admin User
[/tt]
The user info in the backend increments the login correctly. But the list of online users does not show the user logged in.
What am I doing wrong?