Hiding or removing Widgets?


#1

I’ve been trying to edit the index.html to hide or remove all of the widgets except the one for enable/disabling rtorrent etc.

I’ve tried various way like removing the widgets code but I get so far and then something goes wrong, either page does not load or for some reason the enable buttons dissapear in the widget I want to keep.

I noticed this code…

       <?php if ($username == "$master") { ?>

Master is username of initial user created in setup. I’ve tried using thsi to hide wisgets but only seem to get it to work on the bandwidth widget.

Can anybody help or give any clues as to how I could achieve goal?

TIA