Gossamer Forum
Home : Products : Others : Fileman :

how to change logout url from login screen to my homepage

Quote Reply
how to change logout url from login screen to my homepage
Next question, How do I change the logout url from going back to the login screen?

If I logout, it's because I'm done and would rather be dropped back into the
page of my choosing, like the home page for example.

Thanks,
Janna
Quote Reply
Re: [janna] how to change logout url from login screen to my homepage In reply to
You should add the js below at the top of login_form.html:

<%if cmd_do eq 'log_off'%>
<script>
window.location = 'the URL';
</script>
<%endif%>

Hope that helps.

TheStone.

B.
Quote Reply
Re: [TheStone] how to change logout url from login screen to my homepage In reply to
Thanks, I have tried this in several places since putting it in the body tag didn't work I tried inserting the snippet in the head tag as well.

When I hover over the logout link this is what it shows.
http://www.mysite.com/rpl/filer.cgi?do=log_off&root_selected=

When I logout it only returns to the login screen. I have the multi user version if that
makes a difference.

Janna
Quote Reply
Re: [janna] how to change logout url from login screen to my homepage In reply to
So.. you should put code into admin_login.html instead of login_form.html

TheStone.

B.