Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

loginbox-1.0.zip problem


sigzag

Recommended Posts

I am building my first site and have installed the contribution "loginbox-1.0.zip" but seem to be having a problem with the coding. I have placed the box in my right hand upper column.

Prior to logging into an account the box views too wide as compared to the other info boxes. Once logged into an account the box shrinks down to the normal 150 pixels wide. Also instead of showing the text "email login" and password" some of the scripting is visible, again only prior to logging in.

Go to http://www.countryherbstore.com to view problem.

 

Here is the login.php snippet that might help resolve the issue:

 

<?php

$loginboxcontent = "

<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">

<form name=\"login\" method=\"post\" action=\"" . tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL') . "\">

<tr>

<td align=\"left\" class=\"main\">

" . BOX_LOGINBOX_EMAIL . "

</td>

</tr>

<tr>

<td align=\"left\" class=\"main\">

<input type=\"text\" name=\"email_address\" maxlength=\"96\" size=\"10\" value=\"\">

</td>

</tr>

<tr>

<td align=\"left\" class=\"main\">

" . BOX_LOGINBOX_PASSWORD . "

</td>

</tr>

<tr>

<td align=\"left\" class=\"main\">

<input type=\"password\" name=\"password\" maxlength=\"40\" size=\"10\" value=\"\"

</td>

</tr>

<tr>

<td class=\"main\" align=\"center\">

" . tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN) . "

</td>

</tr>

</form>

</table>

";

 

$info_box_contents = array();

$info_box_contents[] = array('align' => 'center',

'text' => $loginboxcontent

);

new infoBox($info_box_contents);

?>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...