CodeIgniter from Scratch Day 7: Paginationvideos

CodeIgniter from Scratch Day 7: Pagination

DiggThis

In these last two weeks, I’ve received bunches of requests for a CodeIgniter pagination screencast; so that’s what we’ll be reviewing today! As a bonus, we’ll also take a look at the super convenient HTML Table class.

Catch Up

Day 7: Pagination

Other Viewing Options

Pagination

Thank you, Screencast.com!


Screencast.com

…for providing the hosting for these video tutorials.


Related Posts

Add Comment

Discussion 199 Comments

Comment Page 3 of 3 1 2 3
  1. Steven says:

    Great tutorial jeff, how would one use this framework to show the records as blog posts rather than in a table?

  2. William Rouse says:

    Jeff:
    Please come back with more CI stuff. I am late to the tutorial and this was lovely. Please keep your promise in the first tutorial where you would develop a full web site.
    Thanks for doing this series.

  3. William Rouse says:

    One more thought.
    The one way I could get the pagination program to work is to change the line on my machine from:
    $config['base_url'] = ‘http://localhost/ci_day7/index.php/site/index;
    to
    $config['base_url'] = base_url().’?site/index/’;
    which is actually thhe same except for the question mark. I have been in the user guide for over an hour and I can’t figure this out. Where can I read about the question mark and that syntax.

  4. Walter says:

    Hi Jeff:
    I find your screencasts really usefull, I mean… FANTASTIC.
    I’d suggest ci+ajax+jquery for next one.

    Come on J.! lot of people will be more than happy to watch more from you.
    Walter

  5. Walter says:

    HI jeff,
    The link for this screencast is not working. Same is happening for day-6 too.
    Can you restore it?
    Thanks
    Walter

  6. Rich says:

    Two months since last CI tutorial, guess it’s officially DOA. :( I’ve enjoyed these and they have helped me take my coding to the next level. Thanks Jeff.

  7. Grimm says:

    Thanks for the excellent tutorials!
    To my best regret links for last two – 6 and 7 are broken.
    Anyway, after long search in www, I found out Day 7 –

    http://blip.tv/file/2670407

    Unfortunately, I couldn’t find Day 6.

    Jeff, please – Christmas is coming, make us a present and restore Day 6 and 7 :)

    Best Regards

  8. Ben says:

    Come on man – don’t stop them now – you said you’d do 10 days…

    If these have stop you could at least say so?

    Thanks have really enjoyed them.!

  9. Adi says:

    Thank you Jeff,
    I just created a site for a client using codeigniter which i learned from your tutorials.
    You’ve helped me a lot.

    Thanks again.

  10. Mark says:

    Thanks Jeff for these, hope you will continue with it !

    For those looking for Day 6 and Day 7 you can download them from Rapidshare.

    http://rapidshare.com/files/318456608/nettuts_codeigniter_day6.zip

    http://rapidshare.com/files/318603335/nettuts_codeigniter_day7.zip

  11. Mark says:

    For those looking for Day 6 and Day 7 you can download them from Rapidshare.

    http://rapidshare.com/files/318456608/nettuts_codeigniter_day6.zip

    http://rapidshare.com/files/318603335/nettuts_codeigniter_day7.zip

    Jeff thanks for these great tutorials, hope you will continue with them !

  12. Walter says:

    rapidshare links are just from premium users….

  13. Mini0n says:

    The next chapter of this series would be a great Christmas gift… ^_^

  14. Jerin says:

    I have not got a codeigniter pagination that shows the uri segment as 1 for the first page,2 for second page and so on…. Instead using Codeignitr pagination the url is offset by 1. ie: its showing 1 for the secnd page, 2 for the 3rd page and so on….

    Can u please give me a code so that i can do this.

  15. Fábio Antunes says:

    I’ve enjoyed your tutes, specially about Code Igniter, they’re really great.

    I haven’t had the chance to go around all of them, but once you encourage comments and tute proposals for this series. I have one :=D

    Could you do one, about the benefits about the URL system/class in place with Code Igniter, but most of all how to use them wisely.

    It would be really great.

  16. jason says:

    Just wanted to add in how awesome these tutorials are.. You totally make CI and MVC a joy to work with!

    thanks!

  17. woony says:

    is there a day 8 , 9 and 10 coming???

  18. MSylvia says:

    Wonderfull tutorials! I agree more on this subject would be great.

  19. Radi says:

    Thx Very Good Tutorial! Keep going! =P

  20. Tom Van Assche says:

    Please continu this great series!

  21. eric says:

    Please more CI!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  22. David Fitzgibbon says:

    Yeah more Codeigniter!

    Even just a quick tip on how to get rid of the index.php, havent gotten a hacj to work yet!

  23. Vladan says:

    Is it possible to see a chapter 8 in near future? Your tutorials are very helpful for learning CodeIgniter.

  24. emcgfx says:

    Maybe you could do some more database tutorials for CodeIgniter from Scratch Day 8 I would like to see how to store categories in database, show then on page with pagination. Then results under those categories with pagination support also. Thanks.

  25. alex says:

    i am in need of another Codeigniter day :)

  26. Alexander says:

    Hay Jeffrey I was wondering if you would consider doing a tutorial on dynamically loading pages, like in a blog where you have one source file that gets a page id and loads the data. I know how to do it in php but i do not know how to approach it using MVC.

    –thanks!

  27. eric says:

    I swear you miss one F’ing character and you can piss away hours of time……

    I am learning though. The hard way………

  28. MJB says:

    I moved to new host and messed up CI layout format. Didnt change anything, can someone email me what happen is it server permissions? See at http://www.teacher-x.com

    THANKS

  29. Kasper says:

    Really nice tuts and learned a lot from them, but I was thinking if there isent another way to do this, because this way I don’t really know how to tamper with the actual results, set I only want to show 100 chars of the content part? I know there is a way to change the layout of the table to divs, but it would be really nice with a chance to tamper the actual data.

  30. Thim says:

    Awesome tut as always Jeffrey!

    Realley helped me :)

  31. saad says:

    but if we won’t display the id , how can we do this ?

  32. Miki says:

    Greetings from Serbia! Thank you for your lessons that contribute to the development of better web applications!

  33. Jason says:

    I’m having an issue with the pagination and the routes.php file. Can you retain the clean URLs? I have to put in the full url in the base_url config parameter, so the subsequent pages are much longer than the others.

    And I had to use rsegment rather than the simple segment. It works now, but with the ugly URLs.

    Could there be another AJAX pagination solution where the URL itself doesn’t change?

Comment Page 3 of 3 1 2 3

Add a Comment