CodeIgniter Forums
Pagination with inactive links - 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: Pagination with inactive links (/showthread.php?tid=28621)



Pagination with inactive links - El Forum - 03-17-2010

[eluser]oste15[/eluser]
Has anyone ever made the pagination show inactive links rather than removing the links that are not currently needed.

For example, achieving this for the first link is pretty simple
Code:
elseif(!$this->uri->segment(3)){
//config code

I have not been able to find a way to do this for the last link. Also having multiple configs seems silly.

I am hoping there is a better way. I can't be the only one who can't stand the jumping around/inconsistency as first/previous/etc buttons appear and disappear.

Thanks.


Pagination with inactive links - El Forum - 03-17-2010

[eluser]oste15[/eluser]
I found this post which looks promising.

http://ellislab.com/forums/viewthread/102670/