Drupal Questions & Answers

Ask and answer Drupal related questions! No question too simple or complex!
jbellendir's picture
Asked by on Tue 16th Jun 2009
How can I have a block show only on the /user page, but not subdirectories under the /user path.

I cannot figure this out nor even understand why it is a problem. The path to the user profile page is sitename.com/user. So on the block’s setting page I select the option to display on only the below listed pages. In the text block I tried the following:

user
user/

and this didn’t work. So I tried the following:

user/*

It works! Great, but I don’t want the block to show on subdirectories. such as /user/2/edit or whatever.
Why is it that I cannot just type the path user and it work. Any idea how to get this working?

thanks!

-Josh

Commenting on this Drupal Question is closed.