[eluser]Tống Kiện Phi[/eluser]
I use this code:
Code:
$config['pagination'] = array(
'page_query_string' => TRUE,
'query_string_segment' => 'page',
'full_tag_open' => '<div id="page_footer">',
'full_tag_close' => '</div>',
'anchor_class' => 'class="pagecurrent"',
'next_link' => '»',
'prev_link' => '«'
);
$this->pagination->initialize(
array_merge(
$this->config->item('pagination'),
array(
'total_rows' => $this->_data['contents']['total'],
'per_page' => 25,
'base_url' => site_url('acp/content/manager') . '?p',
'first_url' => site_url('acp/content/manager') . '?p'
)
)
);
When i run it, it work well but page display have problem, it not display page=1, page=2, it's display page=25, page=50 .. i don't know why, in the old version it's normal, when i download new version to use it's become like that