Hide blocks on a page not found in Drupal
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 is against TOS ads to show your ads on error pages. I suppose there should be a way to write a php script to specify the page visibility options. Does anyone know how to do this?
+2
source to share
2 answers