Created
June 12, 2016 09:55
-
-
Save Debashis-Sinha/2d73999f5c7621b9d3033f9a295dfd7a to your computer and use it in GitHub Desktop.
Codeigniter pagination config settings for Twitter Bootstrap 3.3.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$config['base_url'] = base_url() . 'controller/method/'; | |
$config['total_rows'] = $this->Model->totalRowNoCount();// Total row count | |
$config['per_page'] = 2; | |
$config['prev_link'] = '«'; | |
$config['next_link'] = '»'; | |
$config['first_link'] = ''; | |
$config['last_link'] = ''; | |
$config['full_tag_open'] = '<ul class="pagination">'; | |
$config['full_tag_close'] = '</ul>'; | |
$config['prev_tag_open'] = '<li>'; | |
$config['prev_tag_close'] = '</li>'; | |
$config['next_tag_open'] = '<li>'; | |
$config['next_tag_close'] = '</li>'; | |
$config['cur_tag_open'] = '<li class="active"><a href="#">'; | |
$config['cur_tag_close'] = '</a></li>'; | |
$config['num_tag_open'] = '<li>'; | |
$config['num_tag_close'] = '</li>'; | |
$config['uri_segment'] = 3; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment