The space in /all departments/ may be causing problems - depending on exactly how your page name is translating into code. Some systems don't like spaces in filepaths.
The way you uncommented the $flag statements definitely does not work. You need to close the comment tag and then reopen it after the statements (
- Note: footer can be disabled in the tpl_footer.php<br />
-
<br />
- $flag_disable_header = true;<br />
/
$flag_disable_left = true;
$flag_disable_right = true;
/
- $flag_disable_footer = true;<br />
-
<br />
- // example to not display right column
)
or else just copy the statements to a place in php code outside the head comments.
There is another way of achieving your goal beside a page-specific copy of the file: use an "if" statement to act when on the desired page.
if ($current_page_base == 'all_departments') { //(or whatever the correct technical name is)
$flag_disable_left = true;
$flag_disable_right = true;
}