Print Page | Close Window

Login Form

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=4259
Printed Date: 15-July-2025 at 11:32am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Login Form
Posted By: logoworks
Subject: Login Form
Date Posted: 15-January-2011 at 11:57pm
My newest task has gotten me into a quandary.  Setting up the login form for the webstore I'm working on is giving me some trouble.

The home page template is:

www.bsatshirts.com/home_new.html

What I'm trying to achieve is getting the login form into the box under "customer login.  However I'm finding that a bit difficult to accomplish.  When i tried slicing the image I was unable to get the table to line up correctly with the login form underneath the partial image.

The existing login form is located at www.bsatshirts.com


any insight will be greatly appreciated.  the end goal is to have the form in that frame, then when logged in either have the frame swap with the returning user info, or a new picture and possibly a product or something of the nature.  Please advise any and all advice on this project.  Thank you in advance.





Replies:
Posted By: intour
Date Posted: 17-January-2011 at 5:44am

You can style forms any way you like using CSS.

You can create a Div for it place the form inside and call the class files to style it.
 
Nigel
 


-------------
http://www.innerview.co.uk - Innerview
Productcart Platinum Reseller
Web Design/Hosting/Virtual Tours


Posted By: Brett
Date Posted: 23-January-2011 at 9:52am
Here you go buddy: Paste this somewhere in your header.asp (i put it in the left sidebar column of my layout) and it will show up on all pages besides CustPref.asp since that page already has a login/logout form:


<%if Request.ServerVariables("HTTP_X_REWRITE_URL")<>"/CustPref.asp" then
     if session("idCustomer")=Cdbl(0) then%>   
        <form name="LoginForm" method="post" action="checkout.asp" onsubmit="return Form1_Validator(this)" class="pcForms">
          <input type="hidden" name="cmode" value="1">
          <table class="pcShowContent">
            <tbody>
              <tr>
               <td colspan="2"><h1>Account Login</h1></td>
              </tr>
              <tr>
               <td colspan="2"><table class="pcShowContent">
                    <tbody>
                      <tr>
                        <td colspan="2"><p>E-mail:
                            <input type="text" name="LoginEmail" value="" size="30">
                            <img src="images/sample/pc_icon_required.gif"> </p></td>
                      </tr>
                      <tr>
                        <td colspan="2" class="pcSpacer"></td>
                      </tr>
                      <tr>
                        <td align="right"><input name="PassWordExists" type="hidden" value="YES"></td>
                        <td width="90%"><p>Password:
                            <input type="password" name="LoginPassword" size="20" onfocus="document.LoginForm.PassWordExists[0].checked=true">
                          </p></td>
                      </tr>
                      <tr>
                        <td colspan="2"><hr></td>
                      </tr>
                      <tr>
                        <td colspan="2"><input type="image" src="images/pc/continue.png" name="SubmitCO" id="submit"></td>
                      </tr>
                    </tbody>
                  </table></td>
              </tr>
            </tbody>
          </table>
        </form>
     <%else%>
          <a href="CustLO.asp"> Log Out </a>
     <%end if
end if%>


Posted By: Brett
Date Posted: 23-January-2011 at 9:54am
If you want it to return user info, you just have to pull that user info and put it under the <else> section at the bottom of the code, where the Log Out link is. Let me know if you need help doing that, but first paste this code in and make sure it works for you.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net