[Skip to main content](#vessel-content)

#   popup sur le mode de livraison

##

- **[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")**
- [![michelheb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27507-michelheb "View michelheb's Profile") Topic Author
- [ Offline](/forum/user/27507-michelheb)

Less More

- Posts: 19
- Thank you received: 0
-
-

8 years 2 months ago [\#296534](#296534) by [michelheb](/forum/user/27507-michelheb "View michelheb's Profile")  *[popup sur le mode de livraison](/forum/5-support-en-francais-french-support-/895472-popup-sur-le-mode-de-livraison#296534 "-- url of the page with the problem -- :   blanchisseur.fr  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5 -- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0  Bonjour, Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur &quot;catégories&quot; et non pas sur &quot;produc listing&quot;  comment puis je faire s'il vous plait ?")* was created by *[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")*

-- url of the page with the problem -- : [ blanchisseur.fr](https://blanchisseur.fr)
-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.11
-- PHP version -- : 5
-- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0

Bonjour,
Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur "catégories" et non pas sur "produc listing"

comment puis je faire s'il vous plait ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk1NDcyLXBvcHVwLXN1ci1sZS1tb2RlLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

8 years 2 months ago [\#296536](#296536) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[popup sur le mode de livraison](/forum/5-support-en-francais-french-support-/895472-popup-sur-le-mode-de-livraison#296536 "-- url of the page with the problem -- :   blanchisseur.fr  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5 -- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0  Bonjour, Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur &quot;catégories&quot; et non pas sur &quot;produc listing&quot;  comment puis je faire s'il vous plait ?")*

Bonjour,

Le lien de la commande (sur le numéro de la commande) arrive sur la page avec le détails de la commande et non sur un listing, et il n'y a pas de lien sur le nom des produits eux-mêmes.
Donc je ne suis pas sûr de quoi vous voulez parler.
Pourriez-vous fournir plus d'information ?
Par exemple, quelle est l'URL exacte du lien dont vous parlez ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk1NDcyLXBvcHVwLXN1ci1sZS1tb2RlLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")**
- [![michelheb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27507-michelheb "View michelheb's Profile") Topic Author
- [ Offline](/forum/user/27507-michelheb)

Less More

- Posts: 19
- Thank you received: 0
-
-

8 years 2 months ago [\#296566](#296566) by [michelheb](/forum/user/27507-michelheb "View michelheb's Profile")  Replied by *[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")* on topic *[popup sur le mode de livraison](/forum/5-support-en-francais-french-support-/895472-popup-sur-le-mode-de-livraison#296566 "-- url of the page with the problem -- :   blanchisseur.fr  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5 -- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0  Bonjour, Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur &quot;catégories&quot; et non pas sur &quot;produc listing&quot;  comment puis je faire s'il vous plait ?")*

la page

checkout/activate_page.html

je désirerai que cette page soit celle des catégories, si c'est possible ou pouvoir" l'habiller" ... bref je ne sais pas qui elle est pour pouvoir lui assigner un menu ...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk1NDcyLXBvcHVwLXN1ci1sZS1tb2RlLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

8 years 2 months ago [\#296585](#296585) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[popup sur le mode de livraison](/forum/5-support-en-francais-french-support-/895472-popup-sur-le-mode-de-livraison#296585 "-- url of the page with the problem -- :   blanchisseur.fr  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5 -- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0  Bonjour, Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur &quot;catégories&quot; et non pas sur &quot;produc listing&quot;  comment puis je faire s'il vous plait ?")*

Bonjour,

Si c'est une page du passage en caisse, alors c'est l'option "force menu on checkout" de la configuration qui vous permet de définir un élément de menu pour toutes les pages du passage en caisse.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk1NDcyLXBvcHVwLXN1ci1sZS1tb2RlLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")**
- [![michelheb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27507-michelheb "View michelheb's Profile") Topic Author
- [ Offline](/forum/user/27507-michelheb)

Less More

- Posts: 19
- Thank you received: 0
-
-

8 years 2 months ago [\#296586](#296586) by [michelheb](/forum/user/27507-michelheb "View michelheb's Profile")  Replied by *[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")* on topic *[popup sur le mode de livraison](/forum/5-support-en-francais-french-support-/895472-popup-sur-le-mode-de-livraison#296586 "-- url of the page with the problem -- :   blanchisseur.fr  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5 -- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0  Bonjour, Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur &quot;catégories&quot; et non pas sur &quot;produc listing&quot;  comment puis je faire s'il vous plait ?")*

Bonjour Nicolas,
Ok , merci, je teste ![:-)](/media/kunena/emoticons/9.png ":-)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk1NDcyLXBvcHVwLXN1ci1sZS1tb2RlLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")**
- [![michelheb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27507-michelheb "View michelheb's Profile") Topic Author
- [ Offline](/forum/user/27507-michelheb)

Less More

- Posts: 19
- Thank you received: 0
-
-

8 years 2 months ago [\#296594](#296594) by [michelheb](/forum/user/27507-michelheb "View michelheb's Profile")  Replied by *[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")* on topic *[popup sur le mode de livraison](/forum/5-support-en-francais-french-support-/895472-popup-sur-le-mode-de-livraison#296594 "-- url of the page with the problem -- :   blanchisseur.fr  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5 -- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0  Bonjour, Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur &quot;catégories&quot; et non pas sur &quot;produc listing&quot;  comment puis je faire s'il vous plait ?")*

suite à l'enregistrement en tant que nouveau client, j'arrive sur cette page ( [ blanchisseur.fr/index.php?option=com\_hik...21&amp;lang=fr&amp;page=user](https://blanchisseur.fr/index.php?option=com_hikashop&ctrl=user&task=activate&activation=6f981587368cd74debc526ac94d618b1&infos=eyJwYXNzIjoiZ3Jvc3NvMzMiLCJ1c2VybmFtZSI6Im1vaSJ9&id=196&Itemid=321&lang=fr&page=user) ) par le biais du lien de validation.

Je désire que cette page soit directement sur la catégorie d'enregistrement du client.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk1NDcyLXBvcHVwLXN1ci1sZS1tb2RlLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")**
- [![michelheb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27507-michelheb "View michelheb's Profile") Topic Author
- [ Offline](/forum/user/27507-michelheb)

Less More

- Posts: 19
- Thank you received: 0
-
-

8 years 2 months ago [\#296602](#296602) by [michelheb](/forum/user/27507-michelheb "View michelheb's Profile")  Replied by *[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")* on topic *[popup sur le mode de livraison](/forum/5-support-en-francais-french-support-/895472-popup-sur-le-mode-de-livraison#296602 "-- url of the page with the problem -- :   blanchisseur.fr  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5 -- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0  Bonjour, Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur &quot;catégories&quot; et non pas sur &quot;produc listing&quot;  comment puis je faire s'il vous plait ?")*

le mail de validation du nouveau client renvoi sur :
[ blanchisseur.fr/louez-votre-linge/product/listing.html](https://blanchisseur.fr/louez-votre-linge/product/listing.html)

je voudrai que ce soit sur :https://blanchisseur.fr/louez-votre-linge/category

je suis perdu !!!!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk1NDcyLXBvcHVwLXN1ci1sZS1tb2RlLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

8 years 2 months ago -  8 years 2 months ago [\#296596](#296596) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[popup sur le mode de livraison](/forum/5-support-en-francais-french-support-/895472-popup-sur-le-mode-de-livraison#296596 "-- url of the page with the problem -- :   blanchisseur.fr  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5 -- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0  Bonjour, Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur &quot;catégories&quot; et non pas sur &quot;produc listing&quot;  comment puis je faire s'il vous plait ?")*

Bonjour,

Alors avec cette URL il y a plusieurs cas de figure:
- si vous vous êtes enregistré durant le passage en caisse, et que l'activation a bien fonctionné, alors cette URL vous redirigera vers le passage en caisse pour que vous puissiez finir votre commande. Notez que si vous ouvrez le lien de l'email avec un autre navigateur que celui ou vous vous êtes enregistré, alors le passage en caisse ne trouvera pas votre panier et vous serez redirigé vers l'URL dans l'option "URL where you will be redirected when the cart is empty" de la configuration HikaShop. Donc si vous êtes dans ce cas là, il suffi d'entrer l'URL que vous voulez dans ce cas dans cette option. Notez cependant que pour la plupart des gens, ils utilisent le même navigateur et donc n'ont pas le soucis.
- si vous vous êtes enregistré sur la page d'enregistrement d'HikaShop, et que l'activation a bien fonctionné, alors cette URL affichera la page "activate" d'HikaShop qui est vide, avec uniquement un message disant que cela c'est bien passé. Pour aller ailleurs, il faut modifier le fichier "activate" via le menu Affichage&gt;Vues.
Voici une page qui explique comment faire un redirect avec Joomla:
[ joomla.stackexchange.com/questions/16032...-message-in-joomla-3](https://joomla.stackexchange.com/questions/16032/how-to-redirect-user-with-system-message-in-joomla-3)
Par contre, pour revenir à la page d'avant la page d'enregistrement, cela va être un peu plus compliqué car il faut d'abord stocker cette URL en SESSION pour pouvoir la réutiliser pour le redirect.
Donc il faudra également modifier le fichier "form" de la vue "user" pour stocker l'URL referer: Code:

$_SESSION['previous_page'] = $_SERVER['HTTP_REFERER'];

et ensuite dans activate: Code:

$app = JFactory::getApplication(); $app-&gt;redirect($_SESSION['previous_page']);

Last edit: 8 years 2 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

The following user(s) said Thank You: [michelheb](/forum/user/27507-michelheb "View michelheb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk1NDcyLXBvcHVwLXN1ci1sZS1tb2RlLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")**
- [![michelheb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27507-michelheb "View michelheb's Profile") Topic Author
- [ Offline](/forum/user/27507-michelheb)

Less More

- Posts: 19
- Thank you received: 0
-
-

8 years 2 months ago -  8 years 2 months ago [\#296664](#296664) by [michelheb](/forum/user/27507-michelheb "View michelheb's Profile")  Replied by *[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")* on topic *[popup sur le mode de livraison](/forum/5-support-en-francais-french-support-/895472-popup-sur-le-mode-de-livraison#296664 "-- url of the page with the problem -- :   blanchisseur.fr  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5 -- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0  Bonjour, Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur &quot;catégories&quot; et non pas sur &quot;produc listing&quot;  comment puis je faire s'il vous plait ?")*

pour la redirection sans la SESSION, dois je modifier le "activate" du "checkout" ou du "user" de mon template ?

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 3.5.1
* @author hikashop.com
* @copyright (C) 2010-2018 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/
defined('_JEXEC') or die('Restricted access');
$this-&gt;setRedirect($XXXX.com);
?&gt;

ou :

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 3.5.1
* @author hikashop.com
* @copyright (C) 2010-2018 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/
defined('_JEXEC') or die('Restricted access');
$this-&gt;setRedirect('index.php?option=com_user', $message);
?&gt;

Last edit: 8 years 2 months ago by [michelheb](/forum/user/27507-michelheb "View michelheb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk1NDcyLXBvcHVwLXN1ci1sZS1tb2RlLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

8 years 2 months ago [\#296679](#296679) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[popup sur le mode de livraison](/forum/5-support-en-francais-french-support-/895472-popup-sur-le-mode-de-livraison#296679 "-- url of the page with the problem -- :   blanchisseur.fr  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5 -- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0  Bonjour, Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur &quot;catégories&quot; et non pas sur &quot;produc listing&quot;  comment puis je faire s'il vous plait ?")*

Bonjour,

Comme expliqué et détaillé dans le message de Nicolas : Les deux doivent être modifiés.
Nicolas vous as fournis un code complet.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk1NDcyLXBvcHVwLXN1ci1sZS1tb2RlLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")**
- [![michelheb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27507-michelheb "View michelheb's Profile") Topic Author
- [ Offline](/forum/user/27507-michelheb)

Less More

- Posts: 19
- Thank you received: 0
-
-

8 years 2 months ago -  8 years 2 months ago [\#296711](#296711) by [michelheb](/forum/user/27507-michelheb "View michelheb's Profile")  Replied by *[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")* on topic *[popup sur le mode de livraison](/forum/5-support-en-francais-french-support-/895472-popup-sur-le-mode-de-livraison#296711 "-- url of the page with the problem -- :   blanchisseur.fr  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5 -- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0  Bonjour, Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur &quot;catégories&quot; et non pas sur &quot;produc listing&quot;  comment puis je faire s'il vous plait ?")*

> nicolas wrote: Bonjour,
>
> \- si vous vous êtes enregistré sur la page d'enregistrement d'HikaShop, et que l'activation a bien fonctionné, alors cette URL affichera la page "activate" d'HikaShop qui est vide, avec uniquement un message disant que cela c'est bien passé. Pour aller ailleurs, il faut modifier le fichier "activate" via le menu Affichage&gt;Vues.

la question est en rapport avec ci-dessus
dois je modifier le "activate" du "checkout" ou du "user" de mon template ? ou les deux ?
dois je retirer "defined('_JEXEC') or die('Restricted access');" du ou des "activate" pour le remplacer par
" $this-&gt;setRedirect($xxx.com);"
?

Je comprends votre mépris envers moi qui suis novice, j'apprends , à ma mesure et à la hautreur de mes capacités ... mais j'apprends... je vous serai reconnaissant de me donner un petit coup de main , s'il vous plaît... ![:-)](/media/kunena/emoticons/9.png ":-)")

Last edit: 8 years 2 months ago by [michelheb](/forum/user/27507-michelheb "View michelheb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk1NDcyLXBvcHVwLXN1ci1sZS1tb2RlLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

8 years 2 months ago -  8 years 2 months ago [\#296719](#296719) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[popup sur le mode de livraison](/forum/5-support-en-francais-french-support-/895472-popup-sur-le-mode-de-livraison#296719 "-- url of the page with the problem -- :   blanchisseur.fr  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5 -- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0  Bonjour, Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur &quot;catégories&quot; et non pas sur &quot;produc listing&quot;  comment puis je faire s'il vous plait ?")*

Bonjour,

Ce n'est pas une question d'être novice ou pas. J'ai indiqué dans mon message qu'il faut modifier les deux fichiers:

> il faudra également modifier le fichier "form" de la vue "user" pour stocker l'URL referer:

Code:

$_SESSION['previous_page'] = $_SERVER['HTTP_REFERER'];

Donc ce code dans user/form.php
et:

> activate:

Code:

$app = JFactory::getApplication(); $app-&gt;redirect($_SESSION['previous_page']);

Et donc ce code dans activate.
Dans les deux cas, vous pouvez ajouter ce code à la fin des fichiers et il n'est pas nécessaire de changer ou supprimer quoi que ce soit d'autre.

Last edit: 8 years 2 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk1NDcyLXBvcHVwLXN1ci1sZS1tb2RlLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")**
- [![michelheb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27507-michelheb "View michelheb's Profile") Topic Author
- [ Offline](/forum/user/27507-michelheb)

Less More

- Posts: 19
- Thank you received: 0
-
-

8 years 2 months ago -  8 years 2 months ago [\#296775](#296775) by [michelheb](/forum/user/27507-michelheb "View michelheb's Profile")  Replied by *[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")* on topic *[popup sur le mode de livraison](/forum/5-support-en-francais-french-support-/895472-popup-sur-le-mode-de-livraison#296775 "-- url of the page with the problem -- :   blanchisseur.fr  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5 -- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0  Bonjour, Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur &quot;catégories&quot; et non pas sur &quot;produc listing&quot;  comment puis je faire s'il vous plait ?")*

Mouais .... Bof....

j'ai fais ce que je sais faire , parce qu'avec vous c'est pas gagné !!!

Dans le defaut-logout.php
J'ai créé un lien qui demande à l'internaute connecté, de bien vouloir "cliquez ici pour passez commande"
c'est pas très pro …. mais c'est mieux que rien et il faut que j'avance ….

langage substitution + créer "MOD_LOGIN_COMMANDE" avec la phrase : "faites votre commande" Code:

&lt;?php /** * @package Joomla.Site * @subpackage mod_login * * @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::_('behavior.keepalive'); ?&gt; &lt;form action="&lt;?php echo JRoute::_('index.php', true, $params-&gt;get('usesecure', 0)); ?&gt;" method="post" id="login-form" class="form-vertical"&gt; &lt;?php if ($params-&gt;get('greeting', 1)) : ?&gt; &lt;div class="login-greeting"&gt; &lt;?php if (!$params-&gt;get('name', 0)) : ?&gt; &lt;?php echo JText::sprintf('MOD_LOGIN_HINAME', htmlspecialchars($user-&gt;get('name'), ENT_COMPAT, 'UTF-8')); ?&gt; &lt;?php else : ?&gt; &lt;?php echo JText::sprintf('MOD_LOGIN_HINAME', htmlspecialchars($user-&gt;get('username'), ENT_COMPAT, 'UTF-8')); ?&gt; &lt;?php endif; ?&gt; &lt;/div&gt; &lt;?php endif; ?&gt; &lt;?php if ($params-&gt;get('profilelink', 0)) : ?&gt; &lt;ul class="unstyled"&gt; &lt;li&gt; &lt;a href="&lt;?php echo JRoute::_('index.php?option=com_users&amp;view=profile'); ?&gt;"&gt; &lt;?php echo JText::_('MOD_LOGIN_PROFILE'); ?&gt;&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href="https://blanchisseur.fr/categories.html"&gt; &lt;?php echo JText::_('MOD_LOGIN_COMMANDE'); ?&gt;&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; &lt;?php endif; ?&gt; &lt;div class="logout-button"&gt; &lt;input type="submit" name="Submit" class="btn btn-primary" value="&lt;?php echo JText::_('JLOGOUT'); ?&gt;" /&gt; &lt;input type="hidden" name="option" value="com_users" /&gt; &lt;input type="hidden" name="task" value="user.logout" /&gt; &lt;input type="hidden" name="return" value="&lt;?php echo $return; ?&gt;" /&gt; &lt;?php echo JHtml::_('form.token'); ?&gt; &lt;/div&gt; &lt;/form&gt;

Last edit: 8 years 2 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] tag is nice, really really nice

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk1NDcyLXBvcHVwLXN1ci1sZS1tb2RlLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")**
- [![michelheb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27507-michelheb "View michelheb's Profile") Topic Author
- [ Offline](/forum/user/27507-michelheb)

Less More

- Posts: 19
- Thank you received: 0
-
-

8 years 2 months ago [\#296779](#296779) by [michelheb](/forum/user/27507-michelheb "View michelheb's Profile")  Replied by *[michelheb](/forum/user/27507-michelheb "View michelheb's Profile")* on topic *[modifier la page apres activation](/forum/5-support-en-francais-french-support-/895472-popup-sur-le-mode-de-livraison#296779 "-- url of the page with the problem -- :   blanchisseur.fr  -- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.11 -- PHP version -- : 5 -- Browser(s) name and version -- : Microsoft Edge 42.17134.1.0  Bonjour, Lorsque le client s'enregistre je voudrai que le lien du mail de confirmation arrive sur &quot;catégories&quot; et non pas sur &quot;produc listing&quot;  comment puis je faire s'il vous plait ?")*

pour rediriger vers une page de votre choix apres enregistrement du client via le formulaire .
il faut aller chercher :

components / com_hikashop / controllers / user.php

sous la première ligne mettre le lien de redirection
$app-&gt;enqueueMessage(JText::sprintf('THANK_YOU_FOR_REGISTERING', HIKASHOP_LIVE));
$app-&gt;redirect('categories.html');

ensuite :

remplacer :
$app-&gt;redirect(hikashop_completeLink('checkout&amp;task=activate_page&amp;lang='.$locale,false,true));
par le même redirect
$app-&gt;redirect('categories.html');

et vous aurez une belle redirection permanante lorsque le client s'enregistre

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODk1NDcyLXBvcHVwLXN1ci1sZS1tb2RlLWRlLWxpdnJhaXNvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.461 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
