I am making a web app with CodeIgniter and Twitter Bootstrap. I found a resource online with a list of $config settings to style the pagination links properly. Is there a way to
Very easy solution for bootstrap and codeigniter
$this->load->model('reciever');
$this->load->library('uri');
$this->load->library('pagination');
$config['base_url'] = base_url(). 'users_ci/users';
$config['total_rows'] = $this->reciever->getRows();
$config['per_page'] = 4;
$config['full_tag_open'] = '';
$config['full_tag_close'] = '
';
$config['prev_link'] = '«';
$config['prev_tag_open'] = '- ';
$config['prev_tag_close'] = '
';
$config['next_link'] = '»';
$config['next_tag_open'] = '- ';
$config['next_tag_close'] = '
';
$config['cur_tag_open'] = '- ';
$config['cur_tag_close'] = '
';
$config['num_tag_open'] = '- ';
$config['num_tag_close'] = '
';
$config["num_links"] = round( $config["total_rows"] / $config["per_page"] );
$config['users']= $this->reciever->getUsers(4,$this->uri->segment(3));
$this->pagination->initialize($config);
$config['pages'] = $this->pagination->create_links();
$this->load->view('users',$config);
and for view you have