Welcome Guest, Not a member yet? Register   Sign In
Strange Behaviour with Pagination Class
#5

[eluser]CARP[/eluser]
Hi guys
Thanks for the replies
Some things:

1- If i put a syntax error in config/pagination.php CI stops, so seems to work.

2- If i erase the line
Code:
$this->pagination->initialize($config);
then i don't see pagination

3- I made it work using
Code:
$this->config->load('pagination');
$data['pagination_links'] = $this->pagination->create_links();        
$data['results'] = $this->clients_abm->get_clients($this->config->item('per_page'), $xx);
where $xx is a parameter of the controller's function
so If I call ...app/index.php/clients/list/20
then 20 value is assigned to $xx
All this because...

4- config['uri_segment'] isn't working or is not applied correctly. Tried assigning 3, 4, etc. values but none works

Thanks again


Messages In This Thread
Strange Behaviour with Pagination Class - by El Forum - 08-03-2009, 04:34 PM
Strange Behaviour with Pagination Class - by El Forum - 08-04-2009, 02:32 PM
Strange Behaviour with Pagination Class - by El Forum - 08-04-2009, 02:39 PM
Strange Behaviour with Pagination Class - by El Forum - 08-04-2009, 02:50 PM
Strange Behaviour with Pagination Class - by El Forum - 08-04-2009, 03:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB