![]() |
Make logout confirmation page? How to?
Hello, I have used this thread as a starting point
http://forum.x-cart.com/viewtopic.php?t=3024&start=45&postdays=0&postorder =asc&highlight=logout But I did not see an answer to this. I am using a text link pointing to Code:
include/login.php?mode=logout&redirect=customer "You have been logged out " page. Can anyone help me with that? Thanks a lot. |
login.php should have some redirect code for when the user logs out....
|
Thank you, I will look into that
|
One line 278 I see this:
Code:
if ($mode == "logout") { Code:
func_header_location($redirect_to."/home.php"); Any ideas... Thanks |
This is still eluding me? Anyone..
Thanks a lot |
If you look at /include/login.php
look for Code:
# Insert entry into login_history Code:
$login_redirect = 1; add Code:
func_header_location($redirect_to."/mynewlogoutpage.php"); just change the mynewlogoutpage.php to whatever page you want to redirect too. hope that helps |
Re: Make logout confirmation page? How to?
Thank you so much for your help!
|
Re: Make logout confirmation page? How to?
Nero...Thanks! this was a brain crusher for me! :lol:
|
Re: Make logout confirmation page? How to?
Quote:
Thank you! But now can you tell me how to make the logout page look like the rest of my site. I know I should use home.tpl, and I got that working (the page) but all the images are gone and the page only displays the php etc.. coding? Thanks so much |
Re: Make logout confirmation page? How to?
This is still eluding me? Anyone. Thanks a lot!
|
All times are GMT -8. The time now is 12:08 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.