Odd behavior with CCK nodeprofile and a custom template

electric-bob - January 11, 2008 - 06:53
Project:Node Profile
Version:5.x-1.4
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm having problems with implementing a nodeprofile using the instructions in the README.txt file. By including the snippet into my user_profile.tpl.php, I can get the node to show up, but only as a near-empty box containing only the creation time for the node and the view and edit tabs. None of the actual fields show up. If I disable my profile template, all fields show up normally, so it's definitely something I'm doing wrong with the template.

#1

Gaara - May 6, 2008 - 15:44
Version:5.x-1.3» 5.x-1.4

Subscribe

I have the same problems. The profile won't display inside the box, there are just view and edit links...

This is the code of my template file:

<?php
$output
= nodeprofile_show_profiles($user->uid);
echo
drupal_render($output);
?>

 
 

Drupal is a registered trademark of Dries Buytaert.