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

#   Turn off ajax pagination

##

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

Less More

- Posts: 6
- Thank you received: 0
-
-

13 years 8 months ago [\#90329](#90329) by [puzali](/forum/user/7806-puzali "View puzali's Profile")  *[Turn off ajax pagination](/forum/4-how-to/78417-turn-off-ajax-pagination#90329 "Hello! How can I turn off your creative AJAX pagination and get just simple URLs of pages? As it is now it makes a big problem for users with back button.")* was created by *[puzali](/forum/user/7806-puzali "View puzali's Profile")*

Hello!
How can I turn off your creative AJAX pagination and get just simple URLs of pages?
As it is now it makes a big problem for users with back button.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NDE3LXR1cm4tb2ZmLWFqYXgtcGFnaW5hdGlvbj90bXBsPW1hcmtkb3du) 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)
-

13 years 8 months ago [\#90336](#90336) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Turn off ajax pagination](/forum/4-how-to/78417-turn-off-ajax-pagination#90336 "Hello! How can I turn off your creative AJAX pagination and get just simple URLs of pages? As it is now it makes a big problem for users with back button.")*

Hi,

There is no ajax pagination in HikaShop.

Regards,

---

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

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

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

13 years 8 months ago [\#90340](#90340) by [puzali](/forum/user/7806-puzali "View puzali's Profile")  Replied by *[puzali](/forum/user/7806-puzali "View puzali's Profile")* on topic *[Turn off ajax pagination](/forum/4-how-to/78417-turn-off-ajax-pagination#90340 "Hello! How can I turn off your creative AJAX pagination and get just simple URLs of pages? As it is now it makes a big problem for users with back button.")*

How to make links directing on pages to be not "onclick javascript" but simply "href" links?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NDE3LXR1cm4tb2ZmLWFqYXgtcGFnaW5hdGlvbj90bXBsPW1hcmtkb3du) 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)
-

13 years 8 months ago [\#90446](#90446) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Turn off ajax pagination](/forum/4-how-to/78417-turn-off-ajax-pagination#90446 "Hello! How can I turn off your creative AJAX pagination and get just simple URLs of pages? As it is now it makes a big problem for users with back button.")*

Hi,

The pagination system is the joomla pagination system.
It is possible to modify the "form" in order to not send parameters by "post" but by "get" but it would generate weird and long url.

Regards,

---

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

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

13 years 8 months ago [\#90455](#90455) by [puzali](/forum/user/7806-puzali "View puzali's Profile")  Replied by *[puzali](/forum/user/7806-puzali "View puzali's Profile")* on topic *[Turn off ajax pagination](/forum/4-how-to/78417-turn-off-ajax-pagination#90455 "Hello! How can I turn off your creative AJAX pagination and get just simple URLs of pages? As it is now it makes a big problem for users with back button.")*

Yes, the pagination is by joomla, but you have modofied it by your class "hikashopPaginationHelper".
How can I turn off this your modification?

If you change "post" to "get", this will not change links to be "href", the links will remain "javascript onclick". So this is not a solution.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NDE3LXR1cm4tb2ZmLWFqYXgtcGFnaW5hdGlvbj90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

13 years 8 months ago [\#90691](#90691) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Turn off ajax pagination](/forum/4-how-to/78417-turn-off-ajax-pagination#90691 "Hello! How can I turn off your creative AJAX pagination and get just simple URLs of pages? As it is now it makes a big problem for users with back button.")*

If you want to use the joomla pagination, edit the file administrator/components/com_hikashop/helpers/pagination.php and remove all the code and simply have that line:

&lt;?php class hikashopPaginationHelper extends JPagination { }

However, please note that we cannot guarantee anything on the result after that modification. It might not work at all.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

13 years 8 months ago [\#90708](#90708) by [puzali](/forum/user/7806-puzali "View puzali's Profile")  Replied by *[puzali](/forum/user/7806-puzali "View puzali's Profile")* on topic *[Turn off ajax pagination](/forum/4-how-to/78417-turn-off-ajax-pagination#90708 "Hello! How can I turn off your creative AJAX pagination and get just simple URLs of pages? As it is now it makes a big problem for users with back button.")*

Thank you Nicolas.
Just tried to remove the code. The pagination does not work, as you've said. Probably it is integrated with Hikashop in some other places.
Do you have any ideas on how to solve the above mentioned problem? When the user goes to the page 2 and then ckicks "home", he finds himself at page 2 again, but not page 1. The same will be if not to click "home" but press "back" button.
"Post" to "get" I have already changed, it does not help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NDE3LXR1cm4tb2ZmLWFqYXgtcGFnaW5hdGlvbj90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

13 years 8 months ago [\#90849](#90849) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Turn off ajax pagination](/forum/4-how-to/78417-turn-off-ajax-pagination#90849 "Hello! How can I turn off your creative AJAX pagination and get just simple URLs of pages? As it is now it makes a big problem for users with back button.")*

That's normal and it has nothing to do with the javascript.
That's because the pagination is stored in the session so that if you come back to the listing page later (for example from the product page), you are still on the same page.

You can change the line:
$pageInfo-&gt;limit-&gt;start = $app-&gt;getUserStateFromRequest( $this-&gt;paramBase.'.limitstart', 'limitstart_'.$this-&gt;params-&gt;get('main_div_name').$category_selected, 0, 'int' );

to:
$pageInfo-&gt;limit-&gt;start = JRequest::getVar('limitstart_'.$this-&gt;params-&gt;get('main_div_name').$category_selected, 0);

in the file components/com_hikashop/views/product/view.html.php and the current page won't be stored in the session.

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

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

13 years 6 months ago [\#98788](#98788) by [puzali](/forum/user/7806-puzali "View puzali's Profile")  Replied by *[puzali](/forum/user/7806-puzali "View puzali's Profile")* on topic *[Turn off ajax pagination](/forum/4-how-to/78417-turn-off-ajax-pagination#98788 "Hello! How can I turn off your creative AJAX pagination and get just simple URLs of pages? As it is now it makes a big problem for users with back button.")*

It worked! Thank you.

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

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

Less More

- Posts: 16
- Thank you received: 0
-
-

11 years 10 months ago [\#183647](#183647) by [alexsp](/forum/user/30771-alexsp "View alexsp's Profile")  Replied by *[alexsp](/forum/user/30771-alexsp "View alexsp's Profile")* on topic *[Turn off ajax pagination](/forum/4-how-to/78417-turn-off-ajax-pagination#183647 "Hello! How can I turn off your creative AJAX pagination and get just simple URLs of pages? As it is now it makes a big problem for users with back button.")*

Hi,

i would like to continue the discussion on this issue as i think it is a major usability issue.

As you probably already know, users almost always use the back button of their browser to navigate one step back. But with the pagination like this, it results in a confirm form submission message from the browser or even a blank page.
Apart from this, not being able to store or send to a friend a link that includes the page number is also something very uncommon i believe.

So is there a solution that includes, page number in the links of each page and no confirm form re-submission messages from the browser when using back button of the browser ?

Thanks in advance
Kindest regards
Alex

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

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

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 10 months ago [\#183684](#183684) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Turn off ajax pagination](/forum/4-how-to/78417-turn-off-ajax-pagination#183684 "Hello! How can I turn off your creative AJAX pagination and get just simple URLs of pages? As it is now it makes a big problem for users with back button.")*

Hi,

Not yet but it should be present in the next release of HikaShop. ![:)](/media/kunena/emoticons/8.png ":)")

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

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

[](#top)
