Welcome Guest, Not a member yet? Register   Sign In
Solved: Pagination Links Not Changing, everything else working fine
#1

[eluser]gullah[/eluser]
I am betting this is something small that I just can't see but the pagination is working fine I can get to all the different pages with no errors and data shows up correctly. Only problem is the links don't change with the pages which makes it hard to know what page you are on and impossible to get back to the first without entering the URL.


For all of those who are curious, I forgot this
Code:
$config['uri_segment'] = 4;

Thanks
Drew
#2

[eluser]Frychiko[/eluser]
Which links don't change?
#3

[eluser]gullah[/eluser]
The pagination links of course Smile
Code:
echo($this->pagination->create_links());

for example 1 2 3 Last >>
when it is on page 2 or 3 the 1 is still bolded and inactive.
#4

[eluser]Frychiko[/eluser]
You haven't initialized a uri segment for your pagination config...


Something like $config["uri_segment"] = 3;
#5

[eluser]gullah[/eluser]
I knew I could count on you! Smile

Thanks! Solved.
#6

[eluser]harris_priambudi[/eluser]
I have the same problem like you
my url
Code:
http://localhost/website/admin_controllers/con_admin/video_panel

and my Something like $config[“uri_segment”] = 4

is that wrong??




Theme © iAndrew 2016 - Forum software by © MyBB