Hi,

is there an easy way to set a block visible for a specific site (path) and additional for all nodes with a specific type?

The standard options are combined by a logical "AND" - but I would need a logical "OR" between side name and content type.

I found these snippets
http://drupal.org/node/60317
http://drupal.org/node/134425
but the "if this PHP code returns TRUE" sections does not exist in drupal 7 (...any more?).

Thanks a lot,
Axl

Comments

john.oltman’s picture

Turn on the PHP filter module in Drupal 7 core and you'll see the option in block visibility.

Axl’s picture

ok, thanks :-)

And without the PHP filter module?
I would like to keep it disabled if possible.

rashad612’s picture

How about Context Module ?