Hey,

I've created a custom user profile layout (http://drupal.org/node/35728) so of course now I have a user profile .tpl.php file (user_profile.tpl.php.) Of course, since the profile is now custom, bio won't automatically show up on it anymore, so like I've been doing for a few other modules, I tried to invoke the module using module_invoke , but it doesn't work.

<?php
$block = module_invoke('bio', 'block', 'view', 0);
print $block['content'];
?>

Help please, I need this to show up on my custom profile page!

Jon.

Comments

JonGirard-1’s picture

Status: Active » Closed (fixed)

Problem solved. I pulled the bio module into my custom profile template by going:

<?php print node_page_view(node_load(bio_for_user())); ?>