CodeIgniter Forums
Pagify - simple pagination library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forum-22.html)
+--- Thread: Pagify - simple pagination library (/thread-30412.html)



Pagify - simple pagination library - El Forum - 05-13-2010

[eluser]sethbaur[/eluser]
I've created a simple pagination library to replace the default CI Pagination library. The purpose of doing this stemmed from a desire to create pagination links that used page numbers instead of offsets. I also included a few extra features along the way, including methods for retrieving first, previous, next and last links individually and some more granular output options.

Documentation and source is available on github:
http://github.com/sethbaur/pagify

This is the first version, written fairly quickly, so I'm open to suggestions and feedback.


Pagify - simple pagination library - El Forum - 05-13-2010

[eluser]Buso[/eluser]
Feature request:

<< First 1 2 3 4 5 ... 10 20 30 40 50 ... 100 200 300 Last >>

This is good for SEO and for users too.


Pagify - simple pagination library - El Forum - 05-14-2010

[eluser]sethbaur[/eluser]
Yeah that's not a bad idea. I'll work on including that feature.