[BlueOnyx:14719] Re: Change number of vsites listed on in Site Management
Michael Aronoff
maronoff at gmail.com
Fri Feb 21 10:22:52 -05 2014
Jeff wrote:
> I only have about 40 sites and would like them all on the same page.
I have asked for this before but it has not happened. Here is the process I
use each time I setup a new BO server:
Fix admin server to display more users and sites per page:
cd /usr/sausalito/ui/web
perl -pi -e 's/page_length = 15/page_length = 60/g' `grep -ril "page_length
= 15" *`
perl -pi -e 's/sites_per_page = 25/sites_per_page = 60/g' `grep -ril
"sites_per_page = 25" *`
nano -w /usr/sausalito/ui/web/base/user/userList.php
look for line starting with $pageLength
put two slashes // in front to comment line out then add
$pageLength = 60;
The original numbers were written for the original RAQ and never changed as
far as I can tell. A modern server on broadband can easily handle showing
many more sites, users or whatever at once.
______________________________
M Aronoff Out
More information about the Blueonyx
mailing list