ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Login Form
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Login Form

 Post Reply Post Reply
Author
Message
logoworks View Drop Down
Newbie
Newbie


Joined: 27-October-2008
Location: Rock Hill SC
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote logoworks Quote  Post ReplyReply Direct Link To This Post Topic: Login Form
    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.




Edited by logoworks - 15-January-2011 at 11:58pm
Back to Top
intour View Drop Down
Senior Member
Senior Member


Joined: 30-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote intour Quote  Post ReplyReply Direct Link To This Post 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
 
Innerview
Productcart Platinum Reseller
Web Design/Hosting/Virtual Tours
Back to Top
Brett View Drop Down
Groupie
Groupie
Avatar

Joined: 22-April-2008
Location: Phoenix, AZ
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett Quote  Post ReplyReply Direct Link To This Post 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%>
Back to Top
Brett View Drop Down
Groupie
Groupie
Avatar

Joined: 22-April-2008
Location: Phoenix, AZ
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.