First of all, thanks for the great module!

I'm using this module to attach views of uploaded images and forum posts on the user's page, and it works great.

However, I have a custom user-profile.tpl.php for my user profile. How can I insert these views within this template?

Thanks again!

Comments

mherchel’s picture

I'm close to getting this to work using

<?php
print views_embed_view('test_user_for_profile', 'profile_1', $account->uid );
?>

But, I can't seem to get the view to pick up the $account->uid. Does anyone have any ideas?

jrstmartin’s picture

Status: Active » Fixed
print views_embed_view('test_user_for_profile', 'profile_1', implode(',', $account->uid));

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.