Welcome Guest, Not a member yet? Register   Sign In
Pagination with inactive links
#1

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

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

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




Theme © iAndrew 2016 - Forum software by © MyBB