How can I tell a block to appear on user profiles, like /user/1, but not on other pages where the beginning of the path is the same? So for instance, if I have a view set up at /user/1/articles, or user/1/messages, how can I tell the block to appear in the main user profile but not on the articles or messages pages?
Tell me more
×
Drupal Answers is a question and answer site for
Drupal developers and administrators. It's 100% free, no registration required.
|
|
|||
|
|
|
I believe your only option is to use a PHP snippet to set the visibility. Under
For this to work you would also need to enable the Note that it's not generally recommended to use the PHP filter, but in some cases it might be the easiest solution. |
|||||||||||
|