Skip to content

bgougent/ci-paging-bootstrap-4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

ci-paging-bootstrap-4

codeigniter style pagination with bootstrap 4 Original code : https://github.com/zulacom/ci-paging-bootstrap-4

copy pagination.php to application/config/

Added font-awesome 5 Icons
Include href="https://use.fontawesome.com/releases/v5.0.2/css/all.css" as style in your webpage.


To test the functionality.Use this part in you controller.
  • change the base_url
  • change teh view name
$this->load->library('pagination'); 
$config['base_url'] = '';
$config['total_rows'] = 200;
$config['per_page'] = 20;
$this->pagination->initialize($config);
$data = $this->pagination->create_links();
$this->load->view('some_view', $data);

About

codeigniter style pagination with bootstrap 4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%