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
You can save this as pagination.php in application/config:
$config['per_page'] = 2;
$config['uri_segment'] = 3;
$config['num_links'] = 9;
$config['page_query_string'] = TRUE;
$config['query_string_segment'] = 'page';
$config['full_tag_open'] = '';
$config['full_tag_close'] = '
';
$config['first_link'] = '« First';
$config['first_tag_open'] = '- ';
$config['first_tag_close'] = '
';
$config['last_link'] = 'Last »';
$config['last_tag_open'] = '- ';
$config['last_tag_close'] = '
';
$config['next_link'] = 'Next →';
$config['next_tag_open'] = '- ';
$config['next_tag_close'] = '
';
$config['prev_link'] = '← Previous';
$config['prev_tag_open'] = '- ';
$config['prev_tag_close'] = '
';
$config['cur_tag_open'] = '- ';
$config['cur_tag_close'] = '
';
$config['num_tag_open'] = '- ';
$config['num_tag_close'] = '
';
$config['anchor_class'] = 'follow_link';