Manual pagination problem in CI4. |
I solved my problem but I don't know if it will be the correct way.
I have my system configured with the following path PHP Code: App.php The $pager->setPat() function; return "localhost" only By adding $_SERVER['PHP_SELF'] I can fill in the required url. PHP Code: $pager->setPat($_SERVER['PHP_SELF']) http://localhost/test/index.php/proyecto......?page=1.......... PHP Code: $page = $this->request->getGet ( 'page' ) ? $this->request->getGet ( 'page' ) : 0 |
Messages In This Thread |
Manual pagination problem in CI4. - by hugoafr - 07-10-2020, 07:32 PM
RE: Manual pagination problem in CI4. - by hugoafr - 07-13-2020, 09:52 PM
RE: Manual pagination problem in CI4. - by InsiteFX - 07-14-2020, 03:10 AM
RE: Manual pagination problem in CI4. - by hugoafr - 07-14-2020, 04:21 PM
RE: Manual pagination problem in CI4. - by InsiteFX - 07-15-2020, 07:58 AM
|