Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2006
    Location
    minneapolis
    Posts
    68
    Plugin Contributions
    0

    Default 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.
    Last edited by minneapolis_dan; 9 Oct 2008 at 11:27 PM. Reason: making title clearer

  2. #2
    Join Date
    Jan 2006
    Location
    minneapolis
    Posts
    68
    Plugin Contributions
    0

    Default Re: Set the page shown after account login

    Anyone know where to look or what to do?

  3. #3
    Join Date
    Jan 2004
    Posts
    58,289
    Blog Entries
    3
    Plugin Contributions
    106

    Default 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:
    Code:
            } else {
              zen_redirect(zen_href_link(FILENAME_DEFAULT, '', $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!
    Donations always welcome: www.zen-cart.com/donate

    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.

  4. #4
    Join Date
    Jan 2006
    Location
    minneapolis
    Posts
    68
    Plugin Contributions
    0

    Default 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. #5

    Default 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!!

 

 

Similar Threads

  1. Replies: 19
    Last Post: 22 Apr 2010, 12:49 AM
  2. Category Heading -- to show when product page is shown
    By amieco in forum General Questions
    Replies: 7
    Last Post: 10 Apr 2009, 05:38 AM
  3. No. of images shown on the Main Page
    By uktoday in forum Basic Configuration
    Replies: 0
    Last Post: 28 Feb 2008, 11:48 AM
  4. Sale price shown in cart, but not shown in listing
    By itollij in forum Setting Up Specials and SaleMaker
    Replies: 1
    Last Post: 28 Mar 2007, 10:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •