Hide blocks on page not found in Drupal
- by Tommy
I have google adsense in a block, and I want to hide the block when the page is a "Page not found" error page. It's against adsenses TOS to show their ads on error pages.
I figure there must be a way to write a php script to put in the Page specific visibility options. Does anyone know how to do this?