Posted by haopei on June 12, 2010 at 1:55am
Hello Profiles-as-node'rs,
I have used Content Profile, and I have also created a view inside.
The view lists all the content posted by the user of that Content Profile.
I have created a user-profile.tpl.php inside my theme's directory, and I have entered the following php snippet inside:
<pre>
<?php print_r($account); ?>
</pre>I know that if I wanted to output my name, I would do something like this:
<?php if($account->name){print $account->name;} ?>But, what if I wanted to output a View? Any ideas?