Change Number of Listings "Per Page"

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 12, 2010   (RSS)

Re: [zip222] Change Number of Listings "Per Page"

By Kenny - April 12, 2010

Go to /lib/menus/default/list_functions.php and around line 35 you will see:

if (!$perPage) { $perPage = getFirstDefinedValue(@$lastState['perPage'], 25); }


Replace the 25 with the number of records you would like to see. You can put values that are not in the drop-down menu (other than 5, 10, 25, 50, 100) such as 42. When you do, 42 records will show up, but the drop-down menu will say 5.

To change those options, go to /lib/menus/default/list.php and around line 55 you will see where you can modify these numbers.

Let me know if you run into any problems

Kenny

Re: [sagentic] Change Number of Listings "Per Page"

By zip222 - April 12, 2010

Thanks. Thats what I was looking for.