#819 – Pagination is not work if enable Route 66

Status: Closed - Category: Route 66
 Hi,

I can't switch Pagination when plugin enabled
I have read a previous ticket with similar issue, and you have released an update to fix this error. I was upgrade latest version, but problem still here.
Can you tell me how to fix it?

Thanks!
Hi thanhle,

Can you please provide more details? Pagination of which component? Is it for Joomla articles? Is there a link to the page with the issue?

Regards
 
Yes

I have a blog with multi sub category (I build with Joomla Articles)

Each subcategory have so much article, then bottom of them alway pagination.

If I turn on Route 66: I click to pagination to go page 2, 3... next or last, the page refresh but it's still in page 1.

If I turn off Router 66 (disable all plugin of this package): Everything work normal.

I was try with default template (Cassiopeia of Joomla 4) and my template(Helix Ultimate): problem are same.

Both of these templates are not overridden pagination.

Hope it's clear enough.
Thank you!
Hi thanhle,

Just tested latest Route 66 under Joomla 4.0.6 and everything worked fine for me.
I created a category with 4 articles. I created a menu item to that category and set pagination to two articles per page.
Pagination worked fine for me. Can you please provide more details? Are you using any URL patterns in Route 66?

Regards
 
Yes, I config it like screenshot below:
https://imgur.com/a/3sLVZdg
You are right I was able to reproduce the issue. If you don't want to wait for the update here is the fix:

File: /plugins/system/route66/lib/router.php
Add the following code in line 318:
				if (version_compare(JVERSION, '4.0', 'ge'))
				{
					$q = $uri->getQuery(true);

					if ($q && count($q) && isset($q['start']))
					{
						$this->vars['limitstart'] = $q['start'];
					}
				}


Regards
 
OK Thank you Lefteris Kavadas
I will try this solution now!
Great, it's work back to normal now. I also used the solution with the htaccess file to redirect from ?start=* to ?limitstart=* before got your solution.

Anyway, thank you again.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Note: Our support team is currently on vacation, so please anticipate slightly longer response times. Thank you for your understanding!

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review