Hide blocks on page not found in Drupal

Posted by Tommy on Stack Overflow See other posts from Stack Overflow or by Tommy
Published on 2010-04-10T16:23:42Z Indexed on 2010/04/10 16:43 UTC
Read the original article Hit count: 258

Filed under:

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?

© Stack Overflow or respective owner

Related posts about drupal