Just curious ... are you trying to turn off individual sideboxes or are you trying to turn off columns? :unsure:
These variables and their values:
$flag_disable_left = true;
$flag_disable_right = true;
are used to control the left and right columns ... and, when placed correctly in the code the whole column will turn off ...
If you want to turn off individual sideboxes, look at how the featured.php sidebox module is written where you see:
// test if box should display
$show_featured= true;
if ($show_featured == true) {
currently, nothing "controls" or changes that sidebox but the code is there so that you "could" change when this shows such as only show the sidebox when on the main page:
// test if box should display
$show_featured= true;
if (!$this_is_home_page) {
$show_featured= false;
}
if ($show_featured == true) {
Notice on this sidebox how the IF statement surrounds the whole code ...
Any sidebox where this type of IF does not exist, you can set it up yourself to have similar logic ...