<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16850" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Or you could do what I do on my user profiles which 
is to use a views_embed_view in the tpl file and pass the argument directly 
there. Your code will look something like this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;?php<BR>print views_embed_view('NameOfMyView', 
'block_1', $account-&gt;uid);<BR>?&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>which means the user's uid gets dynamically 
inserted as the argument</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Neil</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=tech4him@gmail.com href="mailto:tech4him@gmail.com">Tom Lucas</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=support@drupal.org 
  href="mailto:support@drupal.org">support@drupal.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 15, 2009 9:29 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [support] Author's nodes on 
  profile page</DIV>
  <DIV><BR></DIV>To get thelisting to be per user, simply add the User: UID to 
  your argument section of your view. Make sure the "Action to take if argument 
  is not present:" is set to provide a default argument and then set the default 
  argument type to "User ID from URL". <BR><BR>As for showing the blocks on the 
  profile pages, go to your block settings. Set the block specific visibility 
  settings to "Show on only the listed pages." and the path to 
  users/*<BR><BR>That should do the trick.<BR><BR>
  <DIV class=gmail_quote>On Wed, Jul 15, 2009 at 7:00 AM, Francesco Baldini 
  <SPAN dir=ltr>&lt;<A 
  href="mailto:fb@codicelibero.net">fb@codicelibero.net</A>&gt;</SPAN> 
wrote:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">On 
    my site users can write 2 different content 
    type:<BR>content-one<BR>content-two<BR><BR>I have to show latest x content 
    type on their profile page<BR><A href="http://site.com/user/autorA" 
    target=_blank>site.com/user/autorA</A>, <A 
    href="http://site.com/user/autorB" target=_blank>site.com/user/autorB</A>, 
    etc..<BR><BR>I need to create 2 different blocks to separate these two nodes 
    type, I<BR>used Views2 to let me show these blocks by content type, what I 
    need now<BR>is being able to let this listing appear on profile pages and 
    listing<BR>nodes created by the author (1, 2, etc...) and not from 
    everyone..<BR><BR>I guess I have to work on Relationship or Filters but have 
    no idea..<BR><BR>thanks<BR><FONT color=#888888><BR>--<BR>[ Drupal support 
    list | <A href="http://lists.drupal.org/" 
    target=_blank>http://lists.drupal.org/</A> ]<BR></FONT></BLOCKQUOTE></DIV><BR>
  <P>
  <HR>

  <P></P>--<BR>[ Drupal support list | http://lists.drupal.org/ 
]</BLOCKQUOTE></BODY></HTML>