| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Login from outside of store? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Login from outside of store?
My store is somewhat seperate from my website, so I'll have a webpage that allows members to register an xcart customer account, login to their existing account, and view a preview of my services, all from a webpage outside of xcart. Any idea how I can do this?. I tried to take the code from "auth.tpl" but that obviously doesn't work.
Ryan |
|||||||
#2
|
|||||||
|
|||||||
Wild. 3 minutes later I figured it out. lol. Incase anyone else is looking for the same thing, feel free to private message me. I'm not sure what the best way is to post code into the forum.
Ryan |
|||||||
#3
|
|||||||||
|
|||||||||
Just Copy and Paste thats all.
Regarding your issue all a user has to do is copy a form into a table in any page that references the action to the include/login.php script: <FORM action="http://yourxcartsite.com/include/login.php" method=post name=authform> <tr> <td class=VertMenuItems> <font class=VertMenuItems>Username</font> <input type=text name=username size=16> <font class=VertMenuItems>Password</font> <input type=password name=password size=16> <input type=hidden name=mode value=login> <input type=hidden name=usertype value="C"> <input type=hidden name=redirect value="customer"> </td></tr> <tr> <td height=24 class=VertMenuItems> <font class=VertMenuItems>Login </font><input type=image src='http://yourxcartsite.com/skin1/images/go_menu.gif' width=27 height=14 border=0 align=absmiddle> </td> </tr> <tr> <td height=24 nowrap class=VertMenuItems> <font class=VertMenuItems>Register </font>http://yourxcartsite.com/skin1/images/go_menu.gif </td> </tr> <tr> <td class=VertMenuItems> <div align=right> If you have disabled Javascript in your browser click here </div> </td> </tr> </form>
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
|
|||
X-Cart forums © 2001-2020
|