Welcome Guest, Not a member yet? Register   Sign In
Correct use of pagination class
#2

[eluser]MadZad[/eluser]
Jose,
I just tried the pagination class yesterday for the first time, so while I'm not much help in diagnosing problems (your code looks fine to me), I can point you at this thread: ellislab.com/forums/viewthread/70821/
Isern Palaus posted a nice example, and that's what I used to get myself going.

I can say that the number that CI pagination puts into the uri is the current offset, and it uses that to determine which page to display. So I would expect that you'd see 5, 10, 15... For no real good reason, I chose to put an argument on my controller, and I use that value instead of grabbing uri segment 3. Really is the same difference.

BTW, your English is just fine, and infinitely superior to any attempt I've ever made to speak another language.

Good luck.


Messages In This Thread
Correct use of pagination class - by El Forum - 03-07-2008, 07:24 AM
Correct use of pagination class - by El Forum - 03-07-2008, 08:26 AM
Correct use of pagination class - by El Forum - 03-07-2008, 09:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB