Search
Other Articles Anywhere questions
Forum

How to limit the size of pagination bar

Ton van Loon's Avatar Ton van Loon
I have 100 items with per-page="10", now my pagination-bar becomes very long, showing button 1 to 10.
[<<] [<] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [>] [>>]

How do I limit the number of buttons to 5 buttons showing something like:

[<<] [<] [1] [2] [...] [9] [10] [>] [>>]

I don't want to increase the per-page value.
Peter van Westen's Avatar Peter van Westen ADMIN
The pagination is rendered through the Joomla pagination.
This is controlled by your template.

So you can see if your template has settings for that. Or customize the templates/[YOUR TEMPLATE]/html/pagination.php file.
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription