Thread: Login Issue

Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2007
    Posts
    10
    Plugin Contributions
    0

    Default Login Issue

    I'm still working on getting my Zen cart set up, but I've noticed that on the login page, this appears:

    TEXT_REMEMBER_ME

    I have looked through the files to see where to correct this but I haven't found a thing yet. Here is the link to the login page so you can see what I mean. Click here

    Any assistance given is greatly appreciated.

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Login Issue

    The default install of 1.3.7 does not provide the option referred to.

    What module did you install to get the "Remember Me" and "Privacy Statement" options?

  3. #3
    Join Date
    Jun 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Login Issue

    Hi Website Rob and thanks for responding. These are the modules I have installed.

    I used both of the Privacy & Conditions statements from the downloads section here.

    The rest are:

    About Us
    Ask
    Automatic Login
    Contact Us - Subject Mod
    autoCopyrightDate
    Export Invoice Totals
    Testimonial Manager
    Zen Faq Manager
    Store Credit
    Layway
    Tell A Friend Free Shipping

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Login Issue

    Presuming the "Privacy & Condition Statements" Module is the one to edit, there is a file provided with it that uses the Keyword: TEXT_REMEMBER_ME.

    Within that file, you would probably look for something like this:
    define('TEXT_REMEMBER_ME', 'Edit here as this is the text that would be displayed.');

    Have never used the Module but the above should help you locate where changes need to be made.

  5. #5
    Join Date
    Mar 2007
    Location
    Seattle, WA
    Posts
    159
    Plugin Contributions
    0

    Default Re: Login Issue

    Have you tried using the developers tool kit to search for the string 'TEXT_REMEMBER_ME'? It should show you immediatly where that string is located.

    In Admin, if you go to Tools --> Developer's Tool Kit and then scrool the the very bottom text field. Type in the string you are looking for (TEXT_REMEMBER_ME) and set the drop down to say All Files - Catalog. Click Search. You will then get a list of all of the locations and line numbers that this string appears in your catalog files in Zen Cart.

  6. #6
    Join Date
    Jun 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Login Issue

    Great, thanks to you both. I did the developers tool kit and this is what it came up with:

    Searching 820 files ... for: TEXT_REMEMBER_ME
    /home/*****/public_html/dragonshoard.dragonhearthall/includes/templates/classic/login.php
    Line #24 : define('TEXT_REMEMBER_ME', 'Would you like to be automatically logged in on your next visit? <br><strong> NB.</strong> This will place a cookie on your computer which can only be read by this site.');

    /home/*****/public_html/dragonshoard.dragonhearthall/includes/templates/classic/templates/tpl_login_default.php
    Line #52 : <label class="checkboxLabel" for="login-remember"><?php echo TEXT_REMEMBER_ME;?></label>

    Line #85 : <label class="checkboxLabel" for="login-remember"><?php echo TEXT_REMEMBER_ME;?></label>

    /home/*****/public_html/dragonshoard.dragonhearthall/includes/templates/classic/templates/tpl_modules_create_account.php
    Line #172 : <label class="checkboxLabel" for="login-remember"><?php echo TEXT_REMEMBER_ME;?></label>

    /home/*****/public_html/dragonshoard.dragonhearthall/includes/templates/template_default/login.php
    Line #24 : define('TEXT_REMEMBER_ME', 'Would you like to be automatically logged in on your next visit? <br><strong> NB.</strong> This will place a cookie on your computer which can only be read by this site.');

    /home/*****/public_html/dragonshoard.dragonhearthall/includes/templates/template_default/templates/tpl_login_default.php
    Line #52 : <label class="checkboxLabel" for="login-remember"><?php echo TEXT_REMEMBER_ME;?></label>

    Line #85 : <label class="checkboxLabel" for="login-remember"><?php echo TEXT_REMEMBER_ME;?></label>

    /home/*****/public_html/dragonshoard.dragonhearthall/includes/templates/template_default/templates/tpl_modules_create_account.php
    Line #172 : <label class="checkboxLabel" for="login-remember"><?php echo TEXT_REMEMBER_ME;?></label>

    Do I have to edit all of those files?

  7. #7
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Login Issue

    Syn, you might try this in these files:

    /home/*****/public_html/dragonshoard.dragonhearthall/includes/templates/classic/templates/tpl_login_default.php
    Line #52 : <label class="checkboxLabel" for="login-remember"><?php echo TEXT_REMEMBER_ME;?></label>

    Line #85 : <label class="checkboxLabel" for="login-remember"><?php echo TEXT_REMEMBER_ME;?></label>

    /home/*****/public_html/dragonshoard.dragonhearthall/includes/templates/classic/templates/tpl_modules_create_account.php
    Line #172 : <label class="checkboxLabel" for="login-remember"><?php echo TEXT_REMEMBER_ME;?></label>

    /home/*****/public_html/dragonshoard.dragonhearthall/includes/templates/template_default/templates/tpl_login_default.php
    Line #52 : <label class="checkboxLabel" for="login-remember"><?php echo TEXT_REMEMBER_ME;?></label>

    Line #85 : <label class="checkboxLabel" for="login-remember"><?php echo TEXT_REMEMBER_ME;?></label>

    /home/*****/public_html/dragonshoard.dragonhearthall/includes/templates/template_default/templates/tpl_modules_create_account.php
    Line #172 : <label class="checkboxLabel" for="login-remember"><?php echo TEXT_REMEMBER_ME;?></label>


    In each one of them, edit this part to make it look like:
    <?php echo "Remember Me";?>

    And, yes, the quotes ARE intentional.....copy this, if you want, and paste in each of those files to make the whole string look like this, as an example:

    /home/*****/public_html/dragonshoard.dragonhearthall/includes/templates/template_default/templates/tpl_modules_create_account.php
    Line #172 : <label class="checkboxLabel" for="login-remember"><?php echo "Remember Me";?></label>

    Then it should show up as: Remember Me, on your site (without the quotes).
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  8. #8
    Join Date
    Jun 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Login Issue

    Thank you so much!

 

 

Similar Threads

  1. login issue 1.3.9d
    By zoish in forum General Questions
    Replies: 4
    Last Post: 12 Jul 2010, 12:03 PM
  2. Login Issue
    By CC Hair in forum General Questions
    Replies: 1
    Last Post: 4 Oct 2008, 04:39 PM
  3. Login Issue
    By characterdriven in forum General Questions
    Replies: 4
    Last Post: 16 Jul 2007, 03:43 AM
  4. Login Issue
    By wittusen in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Nov 2006, 08:17 PM

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