Increasing per page display in admin list
3 posts by 2 authors in: Forums > CMS Builder
Last Post: December 21, 2009 (RSS)
By drewh01 - December 21, 2009
In older CMS builder versions I was able to edit a file in order to allow more than the "Per page 25" display shown in the admin.
In the new version I cannot find this value to edit, anyone know where it is?
thanks!
In the new version I cannot find this value to edit, anyone know where it is?
thanks!
Re: [drewh01] Increasing per page display in admin list
By Kenny - December 21, 2009
Sure - go to lib/menus/default/list_functions.php
and right around line 50 find:
'perPage' => getFirstDefinedValue( @$_REQUEST['perPage'], 25 ),
replace the number 25 with another number like 100
'perPage' => getFirstDefinedValue( @$_REQUEST['perPage'], 100 ),
then you will by default get 100 listings per page.
Hope that helps.
Kenny
and right around line 50 find:
'perPage' => getFirstDefinedValue( @$_REQUEST['perPage'], 25 ),
replace the number 25 with another number like 100
'perPage' => getFirstDefinedValue( @$_REQUEST['perPage'], 100 ),
then you will by default get 100 listings per page.
Hope that helps.
Kenny