Show block only on node view page, not in node create or edit form How can I configure block visibility to show only in node view pages? (not in node edit and create pages)

What should I insert in "Show block on specific pages" > "Only the listed pages"? current config is:

video
node/*
Use this in your block configurations page "Show block on specific pages" > "Show if the following PHP code returns TRUE"

if(arg(0) == 'node' &amp;&amp; is_numeric(arg(1)) &amp;&amp; ((arg(2) == "" || arg(2) == 'view'))) {
  return TRUE;
}


Hope this will help.

You will need to enable the core module PHP.