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)
-   -   My Adopts Page (http://www.mysidiaadoptables.com/forum/showthread.php?t=4738)

Kyttias 01-13-2015 09:27 AM

@IntoRain - I really enjoyed doing this, but is it possible to change the number of adopts shown before a page break to either 9 or 12 instead of 10? I set the adopts to display per row to 3, but now the 10th sits all by herself.

edit// Nvm. Over on myadopts.php (not the view) there's this:
PHP Code:

$pagination = new Pagination($total10"myadopts"); 

And that was easy to change.

SilverDragonTears 03-09-2016 05:54 PM

I'm sorry.... but where in the file does this go?

Kyttias 03-09-2016 06:42 PM

At the top of myadoptsview.php add
PHP Code:

use Resource\Native\Arrays;
use 
Resource\Collection\ArrayList

to the list already there. (He only had us adding one of these, I think we need both?)

Then all you have to do replace the index function with the one IntoRain provided.

SilverDragonTears 03-09-2016 08:42 PM

wait no the code for putting the adopts in a row on the adopt page.

Kyttias 03-09-2016 09:53 PM

Yes. This is what this is? IntoRain provided a replacement index code in his post that will do exactly that.


All times are GMT -5. The time now is 09:58 AM.

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