1
Hi,
I have a custom block into which I'd like to put a link to log out the viewer.
On the User Menu the link is something like:
http://www.mysite.org.uk/user.php?op=logoutHowever, putting that code inside custom block (set to auto format with smilies) with [ url] type code causes a new window to open and the logout to take place in that. The user stays logged in in the original window.
What is the code I need to make the user logout in the current window as per the Logout button in the User Menu?
Many thanks