By osherl on
I am developing a module with a page that I want to display without blocks (it's a Google Maps mashup). Is there simple way to hide all blocks without creating a custom page.tpl.php for the module? Also, I noticed that in 5.0 theme('page', $output, FALSE) can be used to hide the "left" and "right" blocks. How about the "header" and "footer"?
Thanks!
Comments
Ditto / Track
It ought to be possible to turn off blocks by region from within a module. Now, is it possible?
Another good solution would be to be able to turn off regions using the same kind of "if page / php" options available for blocks.
But entering each and every block configuration screen to provide 'if page path is...' instructions to hide the block is too difficult. Likewise a custom page.tpl.php seems overkill.
In addition to custom modules like the one described, this would be especially useful to turn off sidebars when administering CiviCRM.
~ben
People Who Give a Damn :: http://pwgd.org/ :: Building the infrastructure of a network for everyone
Agaric Design Collective :: http://AgaricDesign.com/ :: Open Source Web Development
benjamin, Agaric