Welcome Guest, Not a member yet? Register   Sign In
Easy way to override cur_page variable in Pagination Class?

I'm using Ajax (jQuery) to fetch paginated content. Since the URL does not change (actually only the hash changes), the Pagination class always sets the current page to the first.

Is it possible to override the cur_page variable without altering/extending the library?

[eluser]Greg Aker[/eluser]
just pass it in the array to $this->pagination->initialize()

Theme © iAndrew 2016 - Forum software by © MyBB