Give the gift of Drupal. All merchandise is 50% off through 2016.
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).
Are there any examples of this? Any practical applications that someone can share?
I have a need where this might come in handy. I have a block that I want to appear on SOME /taxonomy/term pages but not others - based on if the term is part of "taxonomy X" or not.
That is, I want to be able to say "Show this block only if the page is displaying items from a specific taxonomy".
I do not want to have to use the "Show on only the listed pages" and then list a bunch of taxonomy/term/XX lines. If I add a new taxonomy item, then I have to remember to update my block config, and I want to avoid that.