Forums / Managing Customers and Orders / Set the page shown after account login

Set the page shown after account login

Locked

Started by minneapolis_dan on 9 Oct 2008, 10:27 PM · Views: 1,784

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
9 Oct 2008, 10:27 PM
#1
minneapolis_dan avatar

minneapolis_dan

New Zenner

Join Date:
Jan 2006
Location:
minneapolis
Posts:
69
Plugin Contributions:
0

Set the page shown after account login

Is there an easy way to have Zen Cart take the user to the "My Account" page after login? It seems confusing to go to the home page after logging in.

20 Oct 2008, 2:50 PM
#2
minneapolis_dan avatar

minneapolis_dan

New Zenner

Join Date:
Jan 2006
Location:
minneapolis
Posts:
69
Plugin Contributions:
0

Re: Set the page shown after account login

Anyone know where to look or what to do?

22 Oct 2008, 3:42 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Set the page shown after account login

/includes/modules/pages/login/header_php.php
Around line 136 you'll see this section of code:```
} else {
zen_redirect(zen_href_link([B]FILENAME_DEFAULT[/B], '', $request_type));
}
}
}
}
}
if ($error == true) {
$zco_notifier->notify('NOTIFY_LOGIN_FAILURE');
}

$breadcrumb->add(NAVBAR_TITLE);

Change the **FILENAME_DEFAULT** to **FILENAME_ACCOUNT**

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Oct 2008, 7:31 PM
#4
minneapolis_dan avatar

minneapolis_dan

New Zenner

Join Date:
Jan 2006
Location:
minneapolis
Posts:
69
Plugin Contributions:
0

Re: Set the page shown after account login

DR BYTE TO THE RESCUE!!

Thanks so much, I appreciate your help. Dr.Byte for President!

5 Mar 2010, 10:30 PM
#5
mskala23 avatar

mskala23

New Zenner

Join Date:
Dec 2009
Posts:
44
Plugin Contributions:
0

Re: Set the page shown after account login

Awesome! I thought I was going to be stuck on this for a while. Lord know's i never would have found that!! thank you!!