[eluser]disco_d[/eluser]
i am looking into the same issue and found this thread
http://ellislab.com/forums/viewthread/140460/ but unfortunaley none of the downloads work so i cant check the code to compare it to my own so i can narrow down where i am going wrong. my controller looks like this
Code:
$config = array();
$config["base_url"] = base_url() . "bounce/members_area";
$config["total_rows"] = $this->bounce_model->record_count();
$config["per_page"] = 8;
$config["uri_segment"] = 3;
//$config['num_tag_open'] = '<div class="ajaxX">';
//$config['num_tag_close'] = '</div>';
$this->pagination->initialize($config);
$page = ($this->uri->segment(3)) ? $this->uri->segment(3) : 0;
$data["links"] = $this->pagination->create_links();
$data["results"] = $this->bounce_model->get_all_bounce($config["per_page"], $page);
$config["link1"]["base_url"] = base_url() . "bounce/members_area#recent-tab/page";
$config["link1"]["total_rows"] = $this->bounce_model->record_count();
$config["link1"]["per_page"] = 8;
$config["link1"]["uri_segment"] = 4;
//$config['num_tag_open'] = '<div class="ajaxX">';
//$config['num_tag_close'] = '</div>';
$this->pagination->initialize($config['link1']);
$page2 = ($this->uri->segment(4)) ? $this->uri->segment(4) : 0;
$data["recent"] = $this->bounce_model->get_recent_bounce($config["link1"]["per_page"], $page2);
$data["link1"] = $this->pagination->create_links("link1");
$data['num_messages'] = $this->bounce_model->num_messages();
$data['main_content'] = 'logged_in_area';
$this->load->view('includes/template', $data);
they both load fine but the links on the second paginatin when clicked load the new url but the page stays the same and the links stay on page 1 .
any suggestions would be great