CodeIgniter Forums
Solved: Pagination Links Not Changing, everything else working fine - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Solved: Pagination Links Not Changing, everything else working fine (/showthread.php?tid=10581)



Solved: Pagination Links Not Changing, everything else working fine - El Forum - 08-05-2008

[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


Solved: Pagination Links Not Changing, everything else working fine - El Forum - 08-05-2008

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


Solved: Pagination Links Not Changing, everything else working fine - El Forum - 08-05-2008

[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.


Solved: Pagination Links Not Changing, everything else working fine - El Forum - 08-05-2008

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


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


Solved: Pagination Links Not Changing, everything else working fine - El Forum - 08-05-2008

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

Thanks! Solved.


Solved: Pagination Links Not Changing, everything else working fine - El Forum - 07-22-2012

[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??