![]() |
help need in pagination - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: help need in pagination (/showthread.php?tid=28260) |
help need in pagination - El Forum - 03-06-2010 [eluser]core-coder[/eluser] Hi guys, I have implemented pagination with the help of pagination library. My problem is page numbers are displaying only if it has more than 1 page. I want to display "1" even if I have only one page. Any solution ? Thank you help need in pagination - El Forum - 03-06-2010 [eluser]core-coder[/eluser] Yes I got it :-) I commented the code if ($num_pages == 1) { return ''; } in the pagination library, so it works now. Hope it wont make any bugs in future |