Show if the following PHP code returns TRUE (PHP-mode, experts only)

Dimmo

Joined: 2008-03-26
Posts: 2
Posted: Thu, 2008-03-27 21:14

I see that in /block/configure/ there is a setting for "Page specific visibility settings" that says: Show if the following PHP code returns TRUE (PHP-mode, experts only).

I want certain block to be visible only when
a) page is test123/*
or
b) gallery2 album's name is test123

Could anyone help me out how to code that?