Welcome Guest, Not a member yet? Register   Sign In
Pagination when $config['per_page'] = 1
#4

[eluser]Cesar Kohl[/eluser]
Okay, I needed to put my hands on dirt to make this work.

Here is my new Pagination Class:

This replacement was made to work when $config['per_page'] (here $this->per_page) equals 1. What generally happens is that the value is the offset, and in this case must be the first (and only) value, the actual page.

Just insert it at 'application/libraries/' and it's done.

Of course, when $config['per_page'] > 1 it continues to work properly.

The file is attached.


Messages In This Thread
Pagination when $config['per_page'] = 1 - by El Forum - 06-25-2011, 02:50 PM
Pagination when $config['per_page'] = 1 - by El Forum - 06-26-2011, 12:53 PM
Pagination when $config['per_page'] = 1 - by El Forum - 06-26-2011, 01:36 PM
Pagination when $config['per_page'] = 1 - by El Forum - 06-27-2011, 10:21 AM
Pagination when $config['per_page'] = 1 - by El Forum - 06-27-2011, 02:08 PM
Pagination when $config['per_page'] = 1 - by El Forum - 06-27-2011, 04:26 PM
Pagination when $config['per_page'] = 1 - by El Forum - 06-27-2011, 10:11 PM
Pagination when $config['per_page'] = 1 - by El Forum - 06-28-2011, 05:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB