Hello,

For now i'm using the following php code to display block on pages every page of a specifically node type.

I'm searching how to adapt the code, so that the block is displayed on every page with a specifically string in the title field.

Anyone knows the code to do that, do i have to work with strpos?

--------------------------------

$nodeType = "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 == 26) ) {
return true;
}
}
return FALSE;

--------------------------------