Friday, 12 February 2021 15:21

Solution for Pagination Bug w/ Joomla 3, K2, SH404SEF, T3 Framework

I noticed recently that a handful of sites had broken pagination: clicking through "Page 1 - 2 - 3 - 4" at the bottom of my blog pages, for example, were leading to URL issues where it didn't matter if you clicked on Page 3 or page 4, both pages were linking to /page-2.html or similar.

This one is puzzling for me because at one point, this bug was identified in 2014:

/plugins/system/t3/includes/joomla3/pagination.php

Then this file started "firing" - even though the site is still Joomla 3:

/plugins/system/t3/includes/joomla4/pagination.php

Solution / Fix / Procedure:

1.  Disable that problem file by renaming it:

/plugins/system/t3/includes/joomla4/pagination.php

(sanity check: refresh the page and your pagination CSS styles will disappear)

 

2.  Add this template override file to your template directory, e.g:

/templates/ts3_base_blank/html/pagination.php

(see attachments for ZIP)

(sanity check: refresh the page and your pagination CSS styles will be back)

 

3.  Go into Components -> sh404sef -> URL's -> Filter/search by "page-" -> Delete with Duplicates

(sanity check: refresh the page and this will force sh404sef to rebuild those URL's... your pagination will work correctly now, too!)

 

 

Additional:
You might need to re-apply Step 1 after future updates to the T3 Framework plugin.

 

Last modified on Friday, 12 February 2021 15:38
Comments (0)
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Suggested Locations

Latest Comments

Got a similar email that seemed suspicious. Ignored it and they even followed up today.
My organization received one of these emails from "Linda," but uses https://www.bestprosintown.com/p...
Hi Nate, I got the same email template from the same email address today and found you through a ...
Just received one today (16 Aug 2022) from "Mailchimp". Thanks for sharing!
Thanks for posting this. I just got one today. I was 99% sure it was a scam, and your post confirmed...


Design & Development

Wordpress, Drupal, Joomla
New custom websites
Bespoke themes and extensions
Redesigns, upgrades, migrations

Web Design & Development


Optimization & SEO

Let us optimize and manage your overall online presence. We offer full service monthly SEO as well as one-time projects.  

Optimization Plans & Pricing


Maintenance, Patching

White glove monthly backups, security updates, maintenance and testing for your Wordpress, Drupal, or Joomla site.

Maintenance Plans & Pricing


Email Newsletter

Bring your web & marketing performance to the next level: monthly blog post roundup via email.  

Stay in Touch!