Login form will not work? Any Ideas?
I made this form for my custom login page. All of the logic seems right but from some reason it doesn't work? Any thoughts as to why?
Code:
|
<INPUT type="hidden" name="mode" value="logout">
Your mode is going to log you out instead of in. |
Jon, thanks it worked!
It logs me in but for from some reason when you log in it doesn't redirect you like it does when you login using the /error_message.php?login_incorrect script? I have a call to redirect? is it wrong? Code:
<INPUT type="hidden" name="redirect" value="{$redirect}"> |
Load the page and see what the actual redirect value is.
|
Jon, is guess my brain is on break because I am not following?
What should I look for? The site is an extreme work in progress - but see what you can make of it http://www.pariscape.com/pages.php?pageid=3[/url] |
When you go to that page and you view source you'll see:
<INPUT type="hidden" name="redirect" value="{$redirect}"> That means that your page isn't processing your smarty, so you need to specify this value. Try: <input type=hidden name=redirect value="customer"> |
Didn't work
Jon
Thanks for the replies, but that didn't fix the problem either. Any more ideas? Or how I can change the form/make a form to log in on and or register? Thanks |
Depends what x-cart version your using.
I would just include the auth.tpl in a smarty template. |
Jon-
I would like to thank you for all the help you have given me thus far. Can you help me even further. Can you tell me how do make a smarty template and include the auth.tpl like you suggested? I have tried it all, from making my own myaccoun.php to everthing under the moon. All will not redirect |
What version are you running?
|
All times are GMT -8. The time now is 11:33 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.