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

#   Impossible de changer la pagination

##

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

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

13 years 10 months ago [\#83622](#83622) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#83622 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")* was created by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")*

Salut,

J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?

Merci d'avance.

---

Être breton c'est un peu comme être dieu, mais en mieux!

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

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

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

13 years 10 months ago -  13 years 10 months ago [\#83627](#83627) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  Replied by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#83627 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

Bon je me répond dans administrator/compo../hika../helpers/paginagtion.php modifier la ligne :

139 : function getLimitBox($minimum=20){
par
function getLimitBox($minimum=5){

modifier la ligne :

141 : for ($i = $minimum; $i &lt;= $minimum*5; $i += $minimum) {
par
for ($i = $minimum; $i &lt;= $minimum*1; $i += $minimum) {

Et le tour est joué, par contre à chaque mise à jours cela va être écrasé ...

Y a t'il moyen dans ce cas d'avoir la pagination d'hikashop au format plugins ?

Dans l'attente de vous lire.

---

Être breton c'est un peu comme être dieu, mais en mieux!

Last edit: 13 years 10 months ago by [Networlds](/forum/user/351-networlds "View Networlds's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzcwODEtaW1wb3NzaWJsZS1kZS1jaGFuZ2VyLWxhLXBhZ2luYXRpb24/dG1wbD1tYXJrZG93bg==) 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: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

13 years 10 months ago [\#83701](#83701) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#83701 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

Bonjour,

J'ai du mal à comprendre la modification de la variable "$minimum" pour la fonction getLimitBox.
Cette fonction est appelée uniquement par getListFooter, qui elle aussi possède la variable "$minimum" avec une initialisation à 20 également.
Si getListFooter est appelé avec le bon paramètre (c'est à dire avec "5") l'affichage commencera bien à 5.
Il est vrai par contre que la génération des valeurs pour la liste est insérée en dur, mais nous pourrions voir pour placer une option pour cela.

Cordialement,

---

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

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

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

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

13 years 10 months ago [\#83702](#83702) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  Replied by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#83702 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

Bonjour,

J'ai essayé en mettant la valeur à 5 partout sur le nombre d'élément à afficher, il gardait toujours 20. Dans la select box la valeur minimum restait à 20. Donc je suis aller directement sur le script pour obliger à avoir que 5 produits qui défile. Pour bien détailler, l'affichage de 5 produits se faisait bien par contre aussitôt que l'on cliquait sur suivant, il rechargeait la page avec 20 produits. Comme ma select box n'est pas affiché, il est impossible de changer la valeur, mais même si elle était présente on ne pouvait changer cette valeur à 5 car le minimum est 20.

D'où le titre de ce topic. Par contre si vous avez un autre solution, je suis preneur ![:)](/media/kunena/emoticons/3.png ":)")

---

Être breton c'est un peu comme être dieu, mais en mieux!

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

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

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

13 years 10 months ago [\#83819](#83819) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  Replied by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#83819 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

Il y a un autre moyen ?

---

Être breton c'est un peu comme être dieu, mais en mieux!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzcwODEtaW1wb3NzaWJsZS1kZS1jaGFuZ2VyLWxhLXBhZ2luYXRpb24/dG1wbD1tYXJrZG93bg==) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

13 years 10 months ago [\#84039](#84039) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#84039 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

Normalement il n'y a aucun code à changé. $minimum prend automatiquement la valeur du nombre d'éléments affichable sur une page et cela fonctionne correctement.
Du coup, si vous voulez que l'utilisateur puisse avoir le choix "5" dans le dropdown, il suffit de changer le nombre d'élément du listing à 5.

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

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

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

13 years 10 months ago [\#84043](#84043) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  Replied by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#84043 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

Salut,

J'ai du zappé un truc ... Quel listing ?

Quand on met Nombre d'élément à 5 dans les options menu &amp; module, il m'affiche 5 produits et aussitôt que je clique sur suivant il met les produit par 20 et la pagination ne s'affiche plus et je dois supprimé les cookies pour retrouver l'affichage.
Y a t'il un truc que j'ai loupé ?

Cordialement,

---

Être breton c'est un peu comme être dieu, mais en mieux!

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

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

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 10 months ago [\#84585](#84585) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#84585 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

Bonjour,

Pourriez vous poster une screenshot de la configuration de votre menu ou module ainsi qu'un lien vers la page?
normalement si le nombre d'item est bien spécifié à 5 il n'y a pas de soucis.

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

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

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

13 years 9 months ago [\#85844](#85844) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  Replied by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#85844 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

Salut,

Je suis passé à la version 3, comme j'ai beaucoup bougé les configurations coté serveur, l'ancien site est en local et le nouveau en production. je n'ai plus le soucis concernant la pagination. Donc je pense que cela était certainement du à mon ancienne configuration. Mais depuis le temps que j'utilise Hikashop, je vous garantie que j'avais mis 5 dans les configues... D'ailleurs, actuellement cela fonctionne très bien, sans que je touche aux scripts.

---

Être breton c'est un peu comme être dieu, mais en mieux!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzcwODEtaW1wb3NzaWJsZS1kZS1jaGFuZ2VyLWxhLXBhZ2luYXRpb24/dG1wbD1tYXJrZG93bg==) 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: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

13 years 9 months ago [\#85859](#85859) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#85859 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

Bonsoir,

Effectivement, c'est étrange.
Il est vrai que la configuration de base fonctionne bien mais il est tout à fait possible qu'une option ai été changée dans un menu, un module ou dans la configuration générale. Avec le système d'inherit qui a été mit en place dans HikaShop 1.6.0, il est probable que des effets de bord de mise à jour de configurations aient été générés dans la configuration.

Content en tout cas que le problème soit réglé sur votre nouveau site !

Cordialement,

---

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

The following user(s) said Thank You: [Networlds](/forum/user/351-networlds "View Networlds's Profile")

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

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

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

13 years 9 months ago -  13 years 9 months ago [\#86031](#86031) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  Replied by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#86031 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

Bon je reviens car le soucis est tout autre ...
Quand je clique sur suivant c'est la même page qui se reharge avec les même produit tout en respectant 5, par contre j'ai ce message qui s'affiche sur FF

Bien que cette page soit chiffrée, les informations saisies vont être transmises en clair (sans chiffrement) et pourraient être lues lors de leur acheminement.

Voulez-vous vraiment transmettre ces informations ?

Je pense que le soucis doit venir de là. ?!?

En http, cela fonctionne bien.

---

Être breton c'est un peu comme être dieu, mais en mieux!

Last edit: 13 years 9 months ago by [Networlds](/forum/user/351-networlds "View Networlds's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzcwODEtaW1wb3NzaWJsZS1kZS1jaGFuZ2VyLWxhLXBhZ2luYXRpb24/dG1wbD1tYXJrZG93bg==) 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: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

13 years 9 months ago [\#86052](#86052) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#86052 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

Bonsoir,

Le formulaire de la pagination doit surement pointer sur du http et non du https.

Cordialement,

---

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

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

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

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

13 years 9 months ago [\#86055](#86055) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  Replied by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#86055 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

Ok je vais chercher, mais au cas ou comment je change cela ?

---

Être breton c'est un peu comme être dieu, mais en mieux!

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

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

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

13 years 9 months ago -  13 years 9 months ago [\#86060](#86060) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  Replied by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#86060 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

J'ai trouvé et corrigé ...

Dans admin/comp/com_hika/helpers/helpers.php :

avant : Code:

function hikashop_isSSL(){ if((isset($_SERVER['HTTPS']) &amp;&amp; !empty($_SERVER['HTTPS']) &amp;&amp; (strtolower($_SERVER['HTTPS']) != 'off')) &#124;&#124; (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) &amp;&amp; strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) == 'https') ) { return true; }else{ return false; } }

Après Code:

function hikashop_isSSL(){ if((isset($_SERVER['HTTPS']) &amp;&amp; !empty($_SERVER['HTTPS']) &amp;&amp; (strtolower($_SERVER['HTTPS']) != 'off') &#124;&#124; $_SERVER['SERVER_PORT'] == 443) &#124;&#124; (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) &amp;&amp; strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) == 'https') ) { return true; }else{ return false; } }

---

Être breton c'est un peu comme être dieu, mais en mieux!

Last edit: 13 years 9 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: ajout des balises "code"

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzcwODEtaW1wb3NzaWJsZS1kZS1jaGFuZ2VyLWxhLXBhZ2luYXRpb24/dG1wbD1tYXJrZG93bg==) 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: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

13 years 9 months ago [\#86066](#86066) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#86066 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

Bonsoir,

Juste pour la petite information, il est préférable de bien utiliser les balises "[ code ]" afin d'afficher du code. Les crochets seront prit comme balises forum le cas échant et le code PHP ne sera pas lisible.
En tout cas, je vais soumettre votre patch dans HikaShop.

Cordialement,

---

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

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

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

Less More

- Posts: 245
- Thank you received: 13
-
- [](http://sebastien-celtalys.fr)
-

13 years 9 months ago [\#86078](#86078) by [Networlds](/forum/user/351-networlds "View Networlds's Profile")  Replied by *[Networlds](/forum/user/351-networlds "View Networlds's Profile")* on topic *[Impossible de changer la pagination](/forum/5-support-en-francais-french-support-/77081-impossible-de-changer-la-pagination#86078 "Salut,  J'ai fouillé le forum, essayé divers trucs pas moyen de mettre la pagination à 5 éléments. Il reste à 20 produits. Comment je peut obliger d'afficher uniquement par 5 produits ?  Merci d'avance.")*

J'utilise la balise code, plutot je clique dessus, mais rien ne s'affiche sous chrome en tout cas. Je n'ai pas trop chercher non plus à l'ecrire -_-". Pardon m'sieur, pas de coup de bâton?!? Je l'ecrirais la prochaine fois promis ! ![:D](/media/kunena/emoticons/1.png ":D")

---

Être breton c'est un peu comme être dieu, mais en mieux!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vNzcwODEtaW1wb3NzaWJsZS1kZS1jaGFuZ2VyLWxhLXBhZ2luYXRpb24/dG1wbD1tYXJrZG93bg==) 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.085 seconds

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