I created Views inside the Content Profile. Where are the php snippets which output the views?

Events happening in the community are now at Drupal community events on www.drupal.org.
haopei's picture

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?

Profiles as nodes

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week