Pagination limit

General questions relating to Joomla! 3.x. Please consider the availability of third-party templates and extensions when deciding which Joomla version to use.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Post Reply
RafixuS
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Feb 07, 2018 9:52 am

Pagination limit

Post by RafixuS » Wed Feb 07, 2018 9:59 am

Hello ! How I can change limit on page ? I mean : now is << < 1,2,3,4,5,6,7,8,9,10 > >> .
For example I wanna have << < 1,2,3 ... 9,10 > >>.
As I told I want change limit of pagination.

Could I need some function or new variable ?

/libraries/src/Pagination/Pagination.php

$displayedPages = 10; -> I wanna template override to for example 5.

User avatar
Jeyjoo
Joomla! Explorer
Joomla! Explorer
Posts: 342
Joined: Tue Jul 19, 2011 8:56 am
Location: Monaco
Contact:

Re: Pagination limit

Post by Jeyjoo » Wed Feb 07, 2018 8:38 pm

In back office admin panel go to:

system/configuration
On the site tab, under site settings, go down to the option "Default List Limit", and set to 5/10/25/50/100 as desired.
Ultimate guide to setting up a Joomla MULTILANGUAGE website
https://jeyjoo.com/blog/how-to-create-a ... -joomla-3/
Guida siti MULTILINGUE in Joomla
https://jeyjoo.it/blog/creare-un-sito-m ... -joomla-3/


Post Reply

Return to “General Questions/New to Joomla! 3.x”