How to shorten pagination in Joomla! 1.5?

We want to short the pagination results from 10 pages to 4 pages.

Example:

From: « Start « 1 2 3 4 5 6 7 8 9 10 » End »
To: « Start « 1 2 3 4 » End »

Solution:

Edit the file: “JOOMLA_ROOT/libraries/joomla/html/pagination.php”
Line: 96

Find: $displayedPages = 10;
Replace with: $displayedPages = 4;

Share if you like...Share on FacebookTweet about this on TwitterShare on Google+Pin on PinterestShare on TumblrEmail this to someone

Leave a Reply