Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2006
    Location
    minneapolis
    Posts
    67
    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
    67
    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
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

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

  4. #4
    Join Date
    Jan 2006
    Location
    minneapolis
    Posts
    67
    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. v151 New account created after payment but automatic account creation is set to no
    By sagilca in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 13 Nov 2013, 02:48 PM
  2. Control which side box is shown in a certain position depending on the page shown?
    By enzo-ita in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 Nov 2011, 10:14 AM
  3. Display customer account page after login
    By saxtuplet in forum General Questions
    Replies: 0
    Last Post: 10 Nov 2011, 08:16 PM
  4. change the page shown after account login
    By aszu in forum Managing Customers and Orders
    Replies: 0
    Last Post: 16 Aug 2011, 04:57 PM
  5. 1.3.5 System blank page after login or create account
    By ccn1 in forum General Questions
    Replies: 2
    Last Post: 31 Oct 2006, 10:09 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR