Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Pages on myadopts not working? (http://www.mysidiaadoptables.com/forum/showthread.php?t=4216)

Infernette 07-26-2013 06:37 AM

Pages on myadopts not working?
 
One of my users is a bit of a hoarder, and I originally removed the pages option because I found it bothersome. I put it back in and.... nothing.

It limits the adopts and everything- just for some reason when clicked the page does not pull up the adopts for the next page- it keeps them the same. :catfish:

I even took code from a fresh file and it didn't work.

Infernette 07-27-2013 12:30 PM

Figured it out- In classes_pagination in the function showpage it has this:
Code:

                        elseif($this->getLastPage() >= 9){
                                if($page < 4)                {
                                        for ($counter = 1; $counter < 6; $counter++){
                                                if ($counter == $page)
                                                        $pagination .= "<span class='current'>{$counter}</span>";
                                                else
                                                        $pagination .= "<a href='{$this->website}{$this->symbol}page-{$counter}'>{$counter}/</a>";

You do not need the slash at the end. :) (It messed me up D:)
Code:

                        elseif($this->getLastPage() >= 9){
                                if($page < 4)                {
                                        for ($counter = 1; $counter < 6; $counter++){
                                                if ($counter == $page)
                                                        $pagination .= "<span class='current'>{$counter}</span>";
                                                else
                                                        $pagination .= "<a href='{$this->website}{$this->symbol}page-{$counter}'>{$counter}</a>";



All times are GMT -5. The time now is 09:18 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.