| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Login Form Modification | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
Seems like a pretty cool mod but regardless of which incarnation of it I use it only gets redirected to a blank page. The page source is cart.php?mode=auth but it is blank.
Im using Netscape 7.1 and Xcart 3.4.9
__________________
Site 1 > XCART LIVE 3.4.12 Site 2 > XCART LIVE 4.0.17 |
|||||||||
#12
|
|||||||||
|
|||||||||
looks like you missed a } on the end of that coding ...
This is the revised coding ... Quote:
Tried it in 3.4.9 and works.
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
#13
|
|||||||||
|
|||||||||
Looks like I got this working with Hair Guy's code.
Here's what Im using for 3.4.10 Code:
__________________
Site 1 > XCART LIVE 3.4.12 Site 2 > XCART LIVE 4.0.17 |
|||||||||
#14
|
|||||||
|
|||||||
Great Mod, ought to be standard in X-Cart, but has anyone updated this for v3.5.x ?
PhilJ |
|||||||
#15
|
|||||||
|
|||||||
Quote:
There is a slight problem with this. Example: The customer tries logging in either through the side panel login box or the center login box but enters a wrong password or wrong username. The incorrect password/username message will show up, and then they enter the correct details and log in. The problem is that the incorrect password/username message will still show, and it might confuse some customers who will wonder why that message is still there if they just logged in correctly. How would you apply an exception to the code so that if the customer is logging in after an unsuccesful attempt, that it would either redirect them back to page they were at before or back to the home page. |
|||||||
#16
|
|||||||
|
|||||||
I ran into the same issue, and I just added an exception for the page "error_message.php?login_incorrect", as follows (this is my entire code snippet:
Code:
Hope this helps.
__________________
Jeremy X-Cart Gold v3.4.14 [Linux/Apache] Heavily Modded |
|||||||
#17
|
|||||||
|
|||||||
Hi, question about your login form solution
Hi,
Thank you for your modification, I was able to integrate it succesfully: "I ran into the same issue, and I just added an exception for the page "error_message.php?login_incorrect", as follows (this is my entire code snippet: " Code:
What I have been having trouble with is integrating the checkout bit that was also in the same post. Were you able to get the correct code so that the customer would be redirected to step 2 if they signed in the middle of the checkout process? By the way, this bit for the above code also redirects them to home if they mistype their login/pw 3 times and are given the recover password screen: if ($relo_page == "error_message.php?login_incorrect" OR "help.php?section=Password_Recovery") Thanks, James |
|||||||
#18
|
|||||||
|
|||||||
for 3.5.7
if customer directory different name codes must be : Code:
|
|||||||
#19
|
|||||||
|
|||||||
Hi,
I have recently begun a fresh install of v3.5.8. I don't know if it's just me, but when I modify login.php to redirect to the referring page, the cart still redirects to either home.php or the cart. I have deleted all cached templates etc. but am still having no luck. Is anyone else experiencing a similar problem? P.S - I have had the code working successfully in v3.5.7 thanks
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
#20
|
|||||||
|
|||||||
what would be the correct code if you had moved the contents from /customer into the root of your site? I did this so the site could be accessed by shop.com/home.php instead of shop.com/customer/home.php
I'm currently using this code: Code:
The redirect for the cart.php works but the redirect for the relopage does not. It redirects to my index.html rather than home.php. |
|||||||
|
|||
X-Cart forums © 2001-2020
|