If this is your first visit, check our documentation. To post, register or login.

text field password

Started by dildil on 11 Apr 2013, 2:37 AM · Views: 1,284

Results 1 to 10 of 10
11 Apr 2013, 2:37 AM
#1
dildil avatar

dildil

New Zenner

Join Date:
Mar 2013
Posts:
6
Plugin Contributions:
0

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.

11 Apr 2013, 3:32 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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:```

<?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', '', '[B]size="18"[/B] 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', '', '[B]size="18"[/B] 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.

12 Apr 2013, 2:59 AM
#3
dildil avatar

dildil

New Zenner

Join Date:
Mar 2013
Posts:
6
Plugin Contributions:
0

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.

12 Apr 2013, 4:43 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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.

12 Apr 2013, 2:39 PM
#5
dildil avatar

dildil

New Zenner

Join Date:
Mar 2013
Posts:
6
Plugin Contributions:
0

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

12 Apr 2013, 5:55 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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.

13 Apr 2013, 12:46 AM
#7
dildil avatar

dildil

New Zenner

Join Date:
Mar 2013
Posts:
6
Plugin Contributions:
0

Re: text field password

does that mean no solution

13 Apr 2013, 4:08 AM
#8
eazy avatar

eazy

New Zenner

Join Date:
Jan 2010
Posts:
70
Plugin Contributions:
0

Re: text field password

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

13 Apr 2013, 10:02 PM
#9
dildil avatar

dildil

New Zenner

Join Date:
Mar 2013
Posts:
6
Plugin Contributions:
0

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" />
13 Apr 2013, 10:05 PM
#10
dildil avatar

dildil

New Zenner

Join Date:
Mar 2013
Posts:
6
Plugin Contributions:
0

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.