We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25910
    • 26 Posts
    Hi,

    I got a problem with Login snippet. I created member-only pages with the help of this tutorial:
    http://rtfm.modx.com/display/revolution20/Making+Member-Only+Pages

    Seems to be ok, I can log me in as a member with the manager login (www.mysite.com/manager) and view my protected pages.

    But when I use the snippet:

    [[!Login]]

    I can’t see the protected pages. The snippet recognize the user and the password, it displays the ’logout’ button, but doesn’t display the member-only pages and seems not really connected: I tested with this:

    [[+modx.user.id:notempty=`logged in, it’s ok`]]

    That give me no response (but works when logged via the manager login).

    Does my problem come from my access user configuration? Do I give more parameters to [[!Login]]?

    Thanks for the help

    (MODx Revolution 2.0.6-pl / login-1.5.1-rc2)