Welcome Guest, Not a member yet? Register   Sign In
How manage the segment error in the URI / pagination class
#5

So simple, thanks.
That's exactly what i was looking for, i still lack practice ... i think i may have found a bug. I set previous_link to false but the < still appear...

[Image: Capture-d-e-cran-2020-03-09-a-16-02-37.png]

Code:
       //Pagination class
        $this->load->library('pagination');
        $config['base_url'] = base_url() . 'contact/all/';
        $config['page_query_string'] = false;
        $config['use_page_numbers'] = true;
        $config['num_links'] = 3;
        $config['full_tag_open'] = '';
        $config['full_tag_close'] = '';
        $config['first_link'] = false;
        $config['last_link'] = false;
        $config['previous_link'] = false;
        $config['next_link'] = false;
        $config['cur_tag_open'] = '<li><a href="#"><b style="color:#FFF">';
        $config['cur_tag_close'] = '</b></a></li>';
        $config['num_tag_open'] = '<li>';
        $config['num_tag_close'] = '</li>';

        $config['total_rows'] = $data["totalContacts"];
        $config['per_page'] = $this->nbsResultPerPage;
        $this->pagination->initialize($config);
Reply


Messages In This Thread
RE: How manage the segment error in the URI / pagination class - by nicolas33770 - 03-09-2020, 08:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB