Welcome Guest, Not a member yet? Register   Sign In
Manual pagination problem in CI4.
#4

(This post was last modified: 07-14-2020, 05:44 PM by hugoafr.)

Hello,

Thanks for the collaboration, the following instruction returns the following:

$ pager-> setPath (base_url ('test_pagination / index.php / project / list /'))---> http://localhost/http://localhost/test_paginatio ...........  localhost is duplicated in url ,,,,


the solution as you indicate is to put the following path to base_url ,,,, but it is not very elegant,

in ci2/3 it is simple

PHP Code:
this-> load-> library ('pagination');
config = $ this-> pager_config;
config ['base_url'] = site_url ('proyecto/ index/ list /'); 
Reply


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-14-2020, 04:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB