nuchie1 Posted July 19, 2010 Share Posted July 19, 2010 Where can I change the url for the logout. When cust log out I want to send them to another page. Link to comment Share on other sites More sharing options...
tomerg3 Posted July 20, 2010 Share Posted July 20, 2010 Edit /init.phpReplace elseif (isset($_GET['mylogout'])) { $cookie->mylogout(); Tools::redirect(isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : NULL); } With elseif (isset($_GET['mylogout'])) { $cookie->mylogout(); Tools::redirect(__PS_BASE_URI__.'page.html'); } Link to comment Share on other sites More sharing options...
nuchie1 Posted July 20, 2010 Author Share Posted July 20, 2010 I changed the code and now it takes me to the correct page. But after logout if you go to a link and add an item to the cart it gos to your cart, like your not logged out. http://www.Catholicgiftsinc.com try and see what I’m talking about.Thanks Link to comment Share on other sites More sharing options...
tomerg3 Posted July 20, 2010 Share Posted July 20, 2010 Hmm, not sure, I have not tested it, I'll try to check it out when I have some free time. Link to comment Share on other sites More sharing options...
Recommended Posts