Manual pagination problem in CI4. |
Hello,
Sorry for my english I have the following problem when paging manually, I can't make the pager links look good. I need the following links: http://localhost/test_pagination/index.p...cto/list/1 <--- page http://localhost/test_pagination/index.p...ect/list/2 http://localhost/test_pagination/index.p...cto/list/3 .... etc in the controller function list ($page = 1 ,,,,,,) { And the pager gives me the following: http://localhost/project/list/1 .... http://localhost/project/list/2 .... http://localhost/project/list/3 .... With $ pager->setPath (); I can not configure the links as in ci3, $ this-> load-> library ('pagination'); $ config = $ this-> pager_config; $ config ['base_url'] = site_url ('project / list /'); Does anyone have the same problem? PHP Code: $data_db = $this->proyecto_model->list_proyecto ( $data_search, $limit, $page); |
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
|