CodeIgniter Forums

Full Version: Pagination with the last and last but one page links
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]dandys997[/eluser]
Hi,
I'm using the pagination class of CodeIgniter, which shows links in this order by default (for example):
Code:
First 1 2 3 Last
My application has many records and above links make feeling like there are only 3 pages. Then I need to show the last and the last but one links too:
Code:
First 1 2 3 ... 45 46 Last
Is it possible to do this with the standard pagination class of CodeIgniter? Thanks in advance for help.