Pagination help - missing back link on pages above 1 - 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 help - missing back link on pages above 1 (/showthread.php?tid=16144) |
Pagination help - missing back link on pages above 1 - El Forum - 02-25-2009 [eluser]jasont[/eluser] Pagination seems to be working however after clicking page 2, you see page 2 and the pagination links show the same page with no link back to page 1. Any ideas? (I'm using uri segment 4 due to using folders) here's the code used Code: // blog - Controller Code: // blogview - View Can't figure this one out. =/ Pagination help - missing back link on pages above 1 - El Forum - 03-07-2009 [eluser]jasont[/eluser] no takers? Pagination help - missing back link on pages above 1 - El Forum - 03-09-2009 [eluser]mamen[/eluser] <code>echo $this->pagination->create_links();</code> try To Put in View dont in Controller Pagination help - missing back link on pages above 1 - El Forum - 03-09-2009 [eluser]kocet[/eluser] i have same problem with you, i can see the page number but pagination doesn't work properly. i put the controller in sub folder. Pagination help - missing back link on pages above 1 - El Forum - 03-09-2009 [eluser]Thorpe Obazee[/eluser] Try adding this to you config Code: $config['uri_segment'] = 4; Pagination help - missing back link on pages above 1 - El Forum - 03-09-2009 [eluser]kocet[/eluser] thank's Chamyto. Problem solved. Pagination help - missing back link on pages above 1 - El Forum - 03-09-2009 [eluser]Thorpe Obazee[/eluser] My pleasure :p Pagination help - missing back link on pages above 1 - El Forum - 03-09-2009 [eluser]jasont[/eluser] Still doesn't work. The pagination always shows page 1. in the browser URL, if I type 2, 3, 4 etc, it loads those pages but the pagination always shows that we are on page 1. Weird Pagination help - missing back link on pages above 1 - El Forum - 06-10-2009 [eluser]Unknown[/eluser] [quote author="bargainph" date="1236602273"]Try adding this to you config Code: $config['uri_segment'] = 4; Thanx It solved my problem. Pagination help - missing back link on pages above 1 - El Forum - 06-10-2009 [eluser]Thorpe Obazee[/eluser] [quote author="Bhoot pe Bhoot" date="1244642103"][quote author="bargainph" date="1236602273"]Try adding this to you config Code: $config['uri_segment'] = 4; Thanx It solved my problem.[/quote] no problem |