Codeigniter Pagination Part 3
Posted on : 07-06-2009 | In : Codeigniter, Screencasts
4
OK so we have now covered setting up Codeigniter Pagination and passing some simple data through it. We have also managed to add categories to our posts to make it a little more interesting.
I thought in this screencast I will cover the other variables which are available to us and a real quick way to get it styled to.
Screencast Time: 11:48
You can download sample files here .
View and download some great styles for your pagination here.


















Hi, how to make that pages links looked 1/2/3…. instead of 1/3/6… under a condition ( $config['per_page'] = 3; )
You would have to edit the Upload Class.
It would need to know how many links to display per page and then do its calculations per which page number.
So I would suggest extending it using the library. ie
class CI_Upload
checkout the userguide on this page
Haha! You’re hilarious. You keep saying you’ll get to the AJAX part and then kind of drift off onto another path. I’m learning a lot though. Good stuff.
Part 4 has the bit you maybe looking for