takalefaire Posted February 25, 2013 Share Posted February 25, 2013 (edited) Bonsoir, Lorsque le client saisit son identifiant et mot de passe, il est renvoyé sur "Mon compte" plutôt que la page d'accueil, quelqu'un peux t'il me dire où modifier la redirection ? Merci de votre aide. Edited February 27, 2013 by takalefaire (see edit history) Link to comment Share on other sites More sharing options...
takalefaire Posted February 26, 2013 Author Share Posted February 26, 2013 Personne n'a une idée ? Link to comment Share on other sites More sharing options...
takalefaire Posted February 27, 2013 Author Share Posted February 27, 2013 Dernière tentative, toujours personne ? Link to comment Share on other sites More sharing options...
webpulser Posted February 27, 2013 Share Posted February 27, 2013 Dans Prestashop 1.5, pour rediriger les utilisateurs après connexion, il faut soit ajouter à ton formulaire de connexion un <input type="hidden" name="back" value="TON-URL" /> Soit faire un override de la fonction processSubmitLogin() ligne 318, remplacer Tools::redirect('index.php?controller=my-account'); par l'URL de ton choix. Link to comment Share on other sites More sharing options...
takalefaire Posted February 27, 2013 Author Share Posted February 27, 2013 Un grand merci pour ton aide très précieuse. Passe une très bonne journée. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now