Welcome Guest, Not a member yet? Register   Sign In
CI Pagination
#1

[eluser]nuclearmaker[/eluser]
i wonder why CI Pagination library will make 'not nice' url
with controller/index/20 for 2nd page and controller/index/30 for 3rd page.

does anyone know how to make it like controller/index/1 for 1st page controller/index/2 for 2nd page and controller/index/3 for 3rd page ?
#2

[eluser]Cristian Gilè[/eluser]
The number in the third segment is the offset not the page number.
#3

[eluser]Nick_MyShuitings[/eluser]
@cristian - He made it clear that he understands that the number is the offset, he was requesting if there is a way for it to not be the offset but rather the page number.

Answer: there are lots of ways... There was a digg style pagination class running around on here the other day. If you can't find one that does it, it shouldn't be that hard of a mod.




Theme © iAndrew 2016 - Forum software by © MyBB