Hi Neil,<br><br>I don't know if the UI for the block module settings will allow regular expressions. I doubt it, but give it a try and report back.<br><br>However, what will surely work is putting in your own php. Have you noticed that radio for adding PHP to return "TRUE" to make block visible? That's your answer.<br>
<br>Here's a code snippet that should get you started:<br><a href="http://drupal.org/node/64135#page-visibility">http://drupal.org/node/64135#page-visibility</a><br><br>Here is one that is a little more sophisticated which was designed for the Google Analytics module... when to include the tracking code on a page -- totally analogous to block visibility:<br>
<a href="http://drupal.org/node/261997">http://drupal.org/node/261997</a><br><br>Good luck. And please add your snippet to the handbook page.<br><br>Shai<br><br><div class="gmail_quote">On Wed, May 28, 2008 at 5:57 AM, Neil: <a href="http://esl-lounge.com">esl-lounge.com</a> <<a href="mailto:neil@esl-lounge.com">neil@esl-lounge.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">I have a block which I show on a user's main page,
user/1, user/2, etc.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I have set block visibility to "only show on pages"
with user/* entered below.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Unfortunately, it's also showing on user/register,
user/password.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I don't suppose I can use regular expressions to
make the wildcard ONLY numeric, can I? How would I get the block to show on
user/7 but not user/register?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Thanks</font></div>
<div><font face="Arial" size="2"><br><font color="#888888">Neil</font></font></div></div>
<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br>