hi,

how to disable blocks on node edit/add page? Let's say i dont want the left and right sidebar show up on the node edit/add page, how to do it?

I tried to remove the region variables from the page-add.tpl.php and page-edit.tpl.php. It visiually removed the blocks in the region.

However, as i tested, the backgroud still called the block functions and do the calculation, but just did not attach the output to the final page output. There might be significant performance implication.

Is there any better to achieve this, like write some php in block visibility settings?

thanks