sigzag Posted February 1, 2004 Share Posted February 1, 2004 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); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.