View Full Version : bug with chooser per page
May 18th, 2009, 02:15 PM
Show Gallery Options
Number of columns for thumbnail pages 5
Default number of thumbnail rows? 2
and it shows 10 pics
however if i set this to 15 or 20
then it doesnt show the option 10 . it shows from 15 and above :confused:
i have to clear cookies to it will go back to 10
May 18th, 2009, 03:46 PM
The default perpage sort on 5 rows is going to be 15 just like the default sort on 4 is going to be 12 it is 3 times the base amount.
Therefore all your sorts are going to be multiples of 5 so yours should look like this
May 18th, 2009, 05:00 PM
but there is the option 10 (default since i have 5 X 2) and after i go to 15 i cant go back to 10 . is this how its supposed to be?
May 18th, 2009, 09:14 PM
The perpage options are not based on how many photos you elect to show. You only have 10 there before you set a cookie because thats how many you elect to show. The perpage options are based solely on multiples of the number of rows this has never changed.
$perpage1x = $Globals['thumbcols'];
$perpage3x = ($perpage1x * 3);
$perpage4x = ($perpage1x * 4);
$perpage5x = ($perpage1x * 5);
$perpage6x = ($perpage1x * 6);
You will notice that 10 is only there in your situation if there is no perpage cookie set. Once you set a perpage cookie your options are limited to that unless you start a new browsing session.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.