Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2005
    Posts
    99
    Plugin Contributions
    0

    Default zen 1.3.5 password field box

    When clicking Login, and it takes you to the Login Page. On Foxfire it is fine, but on IE both boxes are not the same length. On the old zencart this was not a problem. So why is the password field box shorter and the email address box in IE? When both field boxes are suppose to be the same length. Is there something wrong with my zencart or is it zencart itself?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: zen 1.3.5 password field box

    The fields are formulated via a function based on the length or based on the setting in the:
    /includes/templates/template_default/templates/tpl_module_create_account.php

    PHP Code:
    <legend><?php echo TABLE_HEADING_LOGIN_DETAILS?></legend>
    <label class="inputLabel" for="email-address"><?php echo ENTRY_EMAIL_ADDRESS?></label>
    <?php echo zen_draw_input_field('email_address'''zen_set_field_length(TABLE_CUSTOMERS'customers_email_address''40') . ' id="email-address"') . (zen_not_null(ENTRY_EMAIL_ADDRESS_TEXT) ? '<span class="alert">' ENTRY_EMAIL_ADDRESS_TEXT '</span>'''); ?>
    <br class="clearBoth" />
    PHP Code:
    <label class="inputLabel" for="password-new"><?php echo ENTRY_PASSWORD?></label>
    <?php echo zen_draw_password_field('password'''zen_set_field_length(TABLE_CUSTOMERS'customers_password''20') . ' id="password-new"') . (zen_not_null(ENTRY_PASSWORD_TEXT) ? '<span class="alert">' ENTRY_PASSWORD_TEXT '</span>'''); ?>
    <br class="clearBoth" />

    <label class="inputLabel" for="password-confirm"><?php echo ENTRY_PASSWORD_CONFIRMATION?></label>
    <?php echo zen_draw_password_field('confirmation'''zen_set_field_length(TABLE_CUSTOMERS'customers_password''20') . ' id="password-confirm"') . (zen_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '<span class="alert">' ENTRY_PASSWORD_CONFIRMATION_TEXT '</span>'''); ?>
    <br class="clearBoth" />
    You can customize your template by copying that to:
    /includes/templates/your_template_dir/templates

    and chaning the length ...

    Now for me, I have never made a password as long as my email address ... but this is up to you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2005
    Posts
    99
    Plugin Contributions
    0

    Default Re: zen 1.3.5 password field box

    Sorry should of been more clear on which part on the Login Page. On the Login Page, under Returning Customers: Please Log In

    Foxfire has both email address and password input box the same length, but under IE the password box is shorter than the email address box. On the old zencart this was not a problem, but I notice the password box is shorter than the email address box.

  4. #4
    Join Date
    Apr 2005
    Posts
    99
    Plugin Contributions
    0

    Default Re: zen 1.3.5 password field box

    Well I don't under stand why in Internet Explorer zen_draw_password_field input boxes are shorter than zen_draw_input_field input boxes. For Foxfire email and password input box are the same length when I put "size=20." But on IE the password box is shorter than the email input box. When I go to tpl_default_login.php and tpl_modules_create_account.php and change zen_draw_password_field to zen_draw_input_field, the input box length comes out correct. But the problem with using zen_draw_input_field, passwords are not protected so for sure we can't use zen_draw_input_field. Does anyone know why zen_draw_password_field is causing this problem? There seems to be no problem with that in zencart 1.3.0.2 and lower except for zencart 1.3.5. Everything works like it suppose to on Foxfire but not IE. Any help would be appreicated, thanks in advance.

  5. #5
    Join Date
    Apr 2005
    Posts
    99
    Plugin Contributions
    0

    Default Re: zen 1.3.5 password field box

    Never mind was using some older contributions that was causing this. Sorry for wasting space on the forum.

  6. #6
    Join Date
    Feb 2009
    Posts
    23
    Plugin Contributions
    0

    help question Re: zen 1.3.5 password field box

    Although the last posting for this thread is more than two years old, I'm having the exact same problem.

    I just installed Zen-Cart 1.3.8a and using a template downloaded from here. Here's the part of tpl_login_default.php that corresponds to the email and password input boxes.

    PHP Code:
    <fieldset class="floatingBox forward">
    <legend><?php echo HEADING_RETURNING_CUSTOMER_SPLIT?></legend>
    <!--<div class="information"><?php echo TEXT_RETURNING_CUSTOMER_SPLIT?></div> -->
    <br>
    <?php echo zen_draw_form('login'zen_href_link(FILENAME_LOGIN'action=process''SSL')); ?>
    <label class="inputLabel" for="login-email-address"><?php echo ENTRY_EMAIL_ADDRESS?></label>
    <?php echo zen_draw_input_field('email_address''''size="20" id="login-email-address"'); ?>
    <br class="clearBoth" />

    <label class="inputLabel" for="login-password"><?php echo ENTRY_PASSWORD?></label>
    <?php echo zen_draw_password_field('password''''size="20" id="login-password"'); ?>
    <?php 
    echo zen_draw_hidden_field('securityToken'$_SESSION['securityToken']); ?>
    <br class="clearBoth" />
    Any help or suggestion would be appreciated,

    Susan

 

 

Similar Threads

  1. v139a text field password
    By dildil in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 13 Apr 2013, 11:05 PM
  2. Text next to password field
    By ebaobao in forum Basic Configuration
    Replies: 3
    Last Post: 30 Jan 2009, 12:53 AM

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