![]() |
Pagination: Previous link on the second page shall not display page number in link - 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: Pagination: Previous link on the second page shall not display page number in link (/showthread.php?tid=59651) |
Pagination: Previous link on the second page shall not display page number in link - El Forum - 10-31-2013 [eluser]indapublic[/eluser] Hello, everyone. I have a trouble with Codeigniter Pagination and can not resolve it. My config (only part): Code: 'use_page_numbers' => TRUE, When I on the third page (list/3, for example), my previous link is list/2 (is correct). When I on the second page (list/2), my first link is list (is correct), but previous link is list/1 How I can change it behaviour? I can not find anything about it in manual Pagination: Previous link on the second page shall not display page number in link - El Forum - 10-31-2013 [eluser]InsiteFX[/eluser] You need to show your pagination code the config is not your problem. Pagination: Previous link on the second page shall not display page number in link - El Forum - 10-31-2013 [eluser]indapublic[/eluser] Code: private function __pagination($config) { Pagination: Previous link on the second page shall not display page number in link - El Forum - 10-31-2013 [eluser]InsiteFX[/eluser] Watch these videos: http://www.weblee.co.uk/2009/06/06/codeigniter-pagination-part-1/ |