News:

Support the VirtueMart project and become a member

Main Menu

Problems with pagination being reset to page 1

Started by wonderland, January 15, 2013, 11:45:32 AM

Previous topic - Next topic

wonderland

Hello!

I'm experiencing some problems with pagination being reset to page 1.

For example I visit this link (Page 2) - http://bit.ly/RWpRHg

Then I go here - http://bit.ly/WHBwX3 and press on first category

I get redirected to page 2 of this category, instead of page 1.

If I could just find a way to add "?limitstart=0" at the url when pressing on first category this could be solved, unfortunately since I use Joomla menu system I can't add this :(  Is there any other way ?

I also found this topic on forum http://forum.virtuemart.net/index.php?topic=98876.msg331353#msg331353 is this a valid solution ? In this topic I couldn't find which file to edit, to try this.

I'm using J2.5.8 VM 2.0.14 and PHP 5.2.17

jenkinhill

ISTR a change was made to pagination control in the 2.0.16 versions - we are now at 2.0.18a (which is a security release)  I don't know if your issue is fixed, though.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

wonderland

Which files were changed regarding pagination ?

I wouldn't yet want to upgrade, since I have template overrides.

jenkinhill

I don't have a list of files changed, but about 50 bugs were fixed and improvments made. Should not be a problem with overrides - see the live update info:  http://virtuemart.net/index.php?option=com_content&id=416

In any case test updates always on a backup copy of your site first.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

wonderland

#4
I updated site, as you suggested.

But unfortunately I'm still experiencing problems with this.

Probably the worst fix in history of fixes, but I added <?php echo "?limitstart=0"?> after <?php echo $caturl ?>, now page gets reset back to page 1

Unfortunately I don't know how to do this with mod_menu, since I'm using it for secondary navigation :(

Used some javascript, to solve this problem.