Changing Default 25 Records Per Page in Admin
7 posts by 4 authors in: Forums > CMS Builder
Last Post: June 22, 2011 (RSS)
In the admin, the default view is 25 results/records per page.
This can be changed using the dropdown but, how do we change this to default to say 100?
Thanks
Jan
Re: [aquaman] Changing Default 25 Records Per Page in Admin
By Chris - September 9, 2010 - edited: September 9, 2010
This is hardcoded in lib/menus/default/list_functions.php. You can change it there, but you'll need to remember to make the same change again if you ever upgrade CMS Builder.
It should be on line 56:
'perPage' => $isRelatedRecords ? $perPage : getFirstDefinedValue( @$_REQUEST['perPage'], 25 ),
You should be able to change that to any of these values:
5, 10, 25, 50, 100, 250, 1000
I hope this helps! Please let me know if you have any questions.
Chris
Re: [chris] Changing Default 25 Records Per Page in Admin
Re: [chris] Changing Default 25 Records Per Page in Admin
By aev - September 13, 2010
it would be nice if could change this number in the "CMSB Admin > General Settings" page. Or even better; Inside each section using the "Section Editor", allowing individual settings.
-aev-
Re: [aev] Changing Default 25 Records Per Page in Admin
By Chris - September 13, 2010
That's a good idea, thanks! I've added that to our wishlist. :)
Chris
Re: [Chris] Changing Default 25 Records Per Page in Admin
By Codee - June 21, 2011
Re: [equinox69] Changing Default 25 Records Per Page in Admin
By aev - June 22, 2011
-aev-