Internet Search

How to display a block to specific page and a specific content type

Warning: These techniques require the use of the PHP filter module which can have security implications and potentially cause performance issues.

You can use PHP block visibility settings.

Something like:

$nodeType = "New Page";

// valid node id in view mode
if ( arg(0) == 'node' AND is_numeric(arg(1)) AND arg(2) == FALSE ) {
    $node = node_load(arg(1)); // cached
    if ( ($node->type == $nodeType) OR ($node->nid == 20) ) {
        return TRUE;
return FALSE;