Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2013
    Posts
    6
    Plugin Contributions
    0

    Default text field password

    Hi Everybody I am trying to set an online shop for my restaurante. While I am customizing my shop, i came across a problem suddenly, the text area for the password got much bigger. I want to get it back to its normal size.. but finding no way out. could anybosy please help me out. I have attatched a capture with this message so you can ubetter understand my problem

    thank you.
    Attached Images Attached Images  

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: text field password

    You have changed your template: tpl_login_default.php

    The original code from original Zen Cart contains different sizes than what you're using in yours:
    Code:
    <?php echo zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL'), 'post', 'id="loginForm"'); ?>
    <label class="inputLabel" for="login-email-address"><?php echo ENTRY_EMAIL_ADDRESS; ?></label>
    <?php echo zen_draw_input_field('email_address', '', 'size="18" 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="18" id="login-password"'); ?>
    <?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>
    <br class="clearBoth" />
    .

    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.

  3. #3
    Join Date
    Mar 2013
    Posts
    6
    Plugin Contributions
    0

    Default Re: text field password

    Thank you very much, for your reply. I have echaustively looked throught my template and am unable to find the file :tpl_login_default.php. As you have already indicated. I am sure there must be somewhere indicationes controlling this aspect. but I am not getting to it.
    if you can please I can provide you access to my ftp, it offcourse you are willing to help me out please.

    ftp access:
    host: ktaptc.com
    ****REMOVED****
    by the way the template I am using is "cambridge_pro"
    dont worry IŽll set back my password as soon as I get your reply.
    Last edited by DrByte; 12 Apr 2013 at 05:42 AM. Reason: password removed

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: text field password

    While it may sound convenient to offer your FTP login, I'm not logging in to your FTP for you.

    Look at /includes/templates/NAME_OF_YOUR_TEMPLATE/templates/tpl_login_default.php
    .

    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.

  5. #5
    Join Date
    Mar 2013
    Posts
    6
    Plugin Contributions
    0

    Default Re: text field password

    Thanks once again.
    There are files like tpl_about_us_default.php, tpl_ezpages_footer_menu.php, tpl_index_default.php, tpl_modules_featured_products.php and a couple more.

    But there is no file named -tpl_login_default.php..

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: text field password

    Then it sounds like someone has altered the template_default version of that file incorrectly.
    .

    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.

  7. #7
    Join Date
    Mar 2013
    Posts
    6
    Plugin Contributions
    0

    Default Re: text field password

    does that mean no solution

  8. #8
    Join Date
    Jan 2010
    Posts
    70
    Plugin Contributions
    0

    Default Re: text field password

    It means go into the template_default directory and modify the same file name...

  9. #9
    Join Date
    Mar 2013
    Posts
    6
    Plugin Contributions
    0

    Default Re: text field password

    <div class="centerColumn" id="loginDefault">

    <h1 id="loginDefaultHeading"><?php echo HEADING_TITLE; ?></h1>

    <?php if ($messageStack->size('login') > 0) echo $messageStack->output('login'); ?>


    <?php if ( USE_SPLIT_LOGIN_MODE == 'True' || $ec_button_enabled) { ?>
    <!--BOF PPEC split login- DO NOT REMOVE-->
    <fieldset class="floatingBox back">
    <legend><?php echo HEADING_NEW_CUSTOMER_SPLIT; ?></legend>
    <?php // ** BEGIN PAYPAL EXPRESS CHECKOUT ** ?>
    <?php if ($ec_button_enabled) { ?>
    <div class="information"><?php echo TEXT_NEW_CUSTOMER_INTRODUCTION_SPLIT; ?></div>

    <div class="center"><?php require(DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/paypal/tpl_ec_button.php'); ?></div>
    <hr />
    <?php echo TEXT_NEW_CUSTOMER_POST_INTRODUCTION_DIVIDER; ?>
    <?php } ?>
    <?php // ** END PAYPAL EXPRESS CHECKOUT ** ?>
    <div class="information"><?php echo TEXT_NEW_CUSTOMER_POST_INTRODUCTION_SPLIT; ?></div>

    <?php echo zen_draw_form('create', zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); ?>
    <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CREATE_ACCOUNT, BUTTON_CREATE_ACCOUNT_ALT, 'name="registrationButton"'); ?></div>
    </form>
    </fieldset>

    <fieldset class="floatingBox forward">
    <legend><?php echo HEADING_RETURNING_CUSTOMER_SPLIT; ?></legend>
    <div class="information"><?php echo TEXT_RETURNING_CUSTOMER_SPLIT; ?></div>

    <?php echo zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL'), 'post', 'id="loginForm"'); ?>
    <label class="inputLabel" for="login-email-address"><?php echo ENTRY_EMAIL_ADDRESS; ?></label>
    <?php echo zen_draw_input_field('email_address', '', 'size="18" 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="18" id="login-password"'); ?>
    <?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>
    <br class="clearBoth" />

    <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_LOGIN, BUTTON_LOGIN_ALT); ?></div>
    <div class="buttonRow back important"><?php echo '<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></div>
    </form>
    </fieldset>
    <br class="clearBoth" />
    <!--EOF PPEC split login- DO NOT REMOVE-->
    <?php } else { ?>
    <!--BOF normal login-->
    <?php
    if ($_SESSION['cart']->count_contents() > 0) {
    ?>
    <div class="advisory"><?php echo TEXT_VISITORS_CART; ?></div>
    <?php
    }
    ?>
    <?php echo zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL'), 'post', 'id="loginForm"'); ?>
    <fieldset>
    <legend><?php echo HEADING_RETURNING_CUSTOMER; ?></legend>

    <label class="inputLabel" for="login-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="login-email-address"'); ?>
    <br class="clearBoth" />

    <label class="inputLabel" for="login-password"><?php echo ENTRY_PASSWORD; ?></label>
    <?php echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password') . ' id="login-password"'); ?>
    <br class="clearBoth" />
    <?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>
    </fieldset>

    <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_LOGIN, BUTTON_LOGIN_ALT); ?></div>
    <div class="buttonRow back important"><?php echo '<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></div>
    </form>
    <br class="clearBoth" />

  10. #10
    Join Date
    Mar 2013
    Posts
    6
    Plugin Contributions
    0

    Default Re: text field password

    Above is the code from that file as you can see the size for email and pssword are the same. and I have tried even so to change the size....no results.

 

 

Similar Threads

  1. Make input field on collectinfo also display the field text as hyperlink
    By jpietrowiak in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 15 Dec 2012, 05:06 AM
  2. Text next to password field
    By ebaobao in forum Basic Configuration
    Replies: 3
    Last Post: 30 Jan 2009, 12:53 AM
  3. IE6 issues: Bold text looks strange & Login sidebox Password field too long
    By fepb in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 May 2007, 04:11 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