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

That is wrong your base url should be set to the root of the application.

PHP Code:
public $baseURL 'http://localhost/'

Did you try using the method setPath?

PHP Code:
$pager->setPath(base_url('test_pagination/index.php/proyecto/list/'), 'Test-group'); // Additionally you could define path for every group.

$data ['pagination'] = $pager->makeLinks($page$limit$total_rows'paginador_bootstrap'$uri_segment, , 'Test-group'); 

See if that works for you.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
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 InsiteFX - 07-14-2020, 03:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB