We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20889
    • 19 Posts
    Hi,
    I’m using the weblogin snippet on my web. The problem is that I want to put de logout link on other page diferent from the login one, not in the login form and it does not work. I put the following link on the other page because its the same that appears on the login form:

    <a href=’/index.php?id=3’>Logout</a>

    where id=3 is the login page.

    Does anybody know how to solve it?
    Thanks in advance.
      • 33337
      • 3,975 Posts
      Use [!WebLogin!], it will automatically determine if user is logged in then it will show logout link, otherwise the login form.
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link
        • 20889
        • 19 Posts
        Thanks for the answer. It works great.