Hi all! =)
I have a custom profile field for "full names", wich is called
profile_full_name. I'm now customizing a PHPTemplate and I would like
to show the user's full name when displaying a node (just bellow the
page title), then I'm editing the file node.tpl.php. How can I reach
the content of the profile_full_name field (based on the node's
author)? I've tried:
<?php
if ($page == 1):
global $user;
echo "<h3>" . profile_view_field($user,profile_full_name) . "</h3>";
?>
... but it doesn't return anything, zero, nada. =/
What am I doing wrong?
THANK you, Andre.
--
[ Drupal support list | http://lists.drupal.org/ ]
|