Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
how to set Pagination params auto?
  • how to set Pagination params auto?
    now url is create by myself,but i have a lot of search condition and it is show on url.
    how to Pagination auto?
  • You load a pagination config via set_config(), which you pass an array of configuration values. You need 'pagination_url' to set the pagination base URL. Which is documented here: http://docs.fuelphp.com/classes/pagination.html. May I suggest you read the docs first before asking questions?
  • i had see that ,
    i mean auto....
    not use any code for pagination_url..
    that 's mean pagination_url is auto create..
    like yii..
    document said config ,it is not good way .
    if i have a lot of GET,it is should be auto create link and get page number.
    may be fuelphp not support that.
    may be fuelphp 2 could consider auto craete link.
    thank you
  • Auto create links based on what? Some magic? The pagination_url setting defines the base URL, the pagination class will add the page number to it.
  • thank you
    i should be extend pagination to custom config. thanks guys

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion