Take a look at the manual: http://drupal.org/handbook/modules/block (there are others about developing modules, which you may also find useful by the way). Blocks have visibility settings, which do what you want.
I'm not sure that this can be done right now. In Drupal 5, you can have path-sensitive template files, such as page-mymodule.tpl.php that do not print the left and right rails. But I haven't seen where or how you would interrupt the block load.
Comments
Manual
Take a look at the manual: http://drupal.org/handbook/modules/block (there are others about developing modules, which you may also find useful by the way). Blocks have visibility settings, which do what you want.
Hi, Thanks for replying, but
Hi,
Thanks for replying, but I would like to hide the whole left and right region. I don't think it would be smart to hide each block on a certain page.
Does anybody knows how to do that?
Thanks.
Not sure
I'm not sure that this can be done right now. In Drupal 5, you can have path-sensitive template files, such as page-mymodule.tpl.php that do not print the left and right rails. But I haven't seen where or how you would interrupt the block load.
If you find a solution, post it, as I am investigating here: http://drupal.org/node/125977
--
http://ken.blufftontoday.com/
http://new.savannahnow.com/user/2
Search first, ask good questions later.