another pagination problem

#3
[eluser]pickupman[/eluser]
You can double check the pagination docs, but you need to change your uri segment. It defaults to 3, and you need the fourth.
Code:
$type = $this->uri->segment(3,'fiction');

$config['uri_segment'] = 4; //Important Revision
$config['total_rows'] = $query->num_rows(); //Total number of results
$config['per_page'] = 10;
$config['base_url'] = site_url('books/tags/'.$type.'/');
$this->pagination->initialize($config);

There are several posts about this problem, you may want to try and search the forums.


Messages In This Thread
another pagination problem - by El Forum - 04-12-2010, 05:21 PM
another pagination problem - by El Forum - 04-12-2010, 06:12 PM
another pagination problem - by El Forum - 04-12-2010, 09:17 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.