Pages on myadopts not working?

Forum
Last Post
Threads / Messages

Infernette

CODE CODE CODE CODE CODE
Member
Joined
Jan 29, 2013
Messages
164
Points
0
Location
Where I live? I live home.
Mysidian Dollar
15,625
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.
 
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>";
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,132
Members
1,603
Latest member
Monako
BETA

Latest Threads

Top