[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Fix: Raq550 showing only 25 sites at a time.



One of the things that has annoyed me about the Raq550 is that the virtual site list in the GUI is set to only show 25 virtual sites at a time.

Finally I got annoyed enough to hack the code to show all the vsites at once.

Here is what I did:

SSH into the box as root.

Make a backup:
cp /usr/sausalito/ui/web/base/vsite/vsiteList.php /usr/sausalito/ui/web/base/vsite/vsiteList.php

Edit the file:
pico -w /usr/sausalito/ui/web/base/vsite/vsiteList.php

Find this line (near the top):
        $sites_per_page = 25;


Change the code to a more suitable value:
        $sites_per_page = 200;

Now it will show up to 200 sites/page.

Probably everyone has figured this out already, but I thought I'd share.

Brian

--
Brian M. Rahill
President
RainStorm, Inc.
http://www.rainstormconsulting.com
"Designing Strategies for Internet Success."
brian@xxxxxxxxxxxxxxxx
Phone: 207-866-3908
Fax: 207-866-0297