![]() |
first link of the pagination class codeigniter - 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: first link of the pagination class codeigniter (/showthread.php?tid=32420) |
first link of the pagination class codeigniter - El Forum - 07-22-2010 [eluser]cmarra[/eluser] Hi guys, you can customize the first link of the page with the class of CodeIgniter of the page? For example if I click on the second page of the page, the url is http://localhost:8888/website/info/page/12 and if I try to click on the first page instead of the url is http://localhost:8888/website/info/page/ I change the url of the first page in http://localhost:8888/website/info/ ????? Thanks to all first link of the pagination class codeigniter - El Forum - 07-22-2010 [eluser]cmarra[/eluser] help me ![]() first link of the pagination class codeigniter - El Forum - 07-22-2010 [eluser]Gurrewe[/eluser] $page = 1 ?? first link of the pagination class codeigniter - El Forum - 07-22-2010 [eluser]pickupman[/eluser] In your configuration array for pagination->initialize() try using: Code: $config['uri_segment'] = 4; //3 is default which is page in your url |