[eluser]CoolGoose[/eluser]
You can change set the num_links setting to have a different value.
Code:
$this->load->library('pagination');
$config['base_url'] = 'http://example.com/index.php/test/page/';
$config['total_rows'] = '200';
$config['per_page'] = '20';
$config['num_links'] = 5;
$this->pagination->initialize($config);
echo $this->pagination->create_links();
/le
Ah, damn. I just noticed that you want the First Link from that Listing to be the first one.
/le 2
Create your own library based on CI's one and fiddle with
Code:
$start = (($this->cur_page - $this->num_links) > 0) ? $this->cur_page - ($this->num_links - 1) : 1;