-
- 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.
-
- 3,975 Posts
Use [!WebLogin!], it will automatically determine if user is logged in then it will show logout link, otherwise the login form.
-
- 19 Posts
Thanks for the answer. It works great.