You can also add more Modules to this method in order for them to NOT display the left blocks as well.
Example if you are using gallery from Menalto and don't want the left blocks when viewing it and also you don't want the left blocks when viewing your Forums.
The code would need to look like this:
|
Code:
|
if ($name=='gallery'){
/* Don't display it. */
}
else
if ($name=='Forums'){
/* Don't display it. */
}
else {
blocks(left);
} |
That will cause the left blocks to now "hide" when you view your Forums and gallery. You can do use this method with ANY module.
mikem