Pagination : Page One Params Issue |
Hello,
I'm using the Pagination class and there is an issue on the first link (to page one). Variables (or suffix) disapear on it. If I'm only using PHP Code: $config['suffix'] = $request[ 'urls' ]; Every links are set except the page one. If I only use PHP Code: $config['reuse_query_string'] = true; So as I start with POST variables, I have to do my own pagination system or I miss something ?
You can't call using an existing (and documented) configuration option a hack, but ok
Normally I would want my URL structure like this: http://example.com/index.php/news (latest display the latest 25 items) http://example.com/index.php/news/page/2 (latest display the 25-50 items) etc Just for SEO purposes I like to keep my URL's clean and short so I can use /news in my main navigation instead of /news/pages/1. In my (public) news controller I would use: PHP Code: public function __construct() |
Welcome Guest, Not a member yet? Register Sign In |