By hubris on
I have a block that appears on pages with a specific term, I'm using PHP code to do this.
But I also want to turn off the block's visibility on the Edit version of these pages... Since I'm already using php code to make the block visible, I can't use:
Show on every page except the listed pages. -- */edit
I'm wondering what php I can use to know whether or not it's the normal display of a node vs. the edit display of a node...
Thanks,
-Chris
Comments
Look at arg(2)
You do not say what the PHP looks like so in general terms you want something like