The final override we will look at is the pagination override. This override can control the display of items-per-page and the pagination links that are used with lists of information, as shown in the following screenshot.
The rhuk_milkyway template provides a well commented example for this override. The file is found here:
When the pagination list is required, Joomla will look for this file in the default templates. If it is found it will be loaded and the display functions it contains will be used.
There are four functions that can be used:
This function is responsible for showing the select list for the number of items to display per page.
This function is responsible for showing the list of page number links as well at the Start, End, Previous and Next links.
This function displays the links to other page numbers other than the current page.
This function displays the current page number, usually not hyperlinked.