Post by pwood » Wed Oct 01, 2014 5:24 pm

I want to set the page back to home if a user is clicking on logout button (skipping the logout page).

How to do so?

Active Member

Posts

Joined
Tue May 07, 2013 7:58 pm

Post by pprmkr » Wed Oct 01, 2014 6:05 pm

Edit catalog/controller/account/logout.php

After:

Code: Select all

		$this->data['button_continue'] = $this->language->get('button_continue');
Add:

Code: Select all

		$this->redirect($this->url->link('common/home', '', 'SSL'));
It redirects to home before success-page is loaded.

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by pwood » Thu Oct 02, 2014 1:46 pm

Thank You!

Active Member

Posts

Joined
Tue May 07, 2013 7:58 pm
Who is online

Users browsing this forum: No registered users and 66 guests