Using the profile module I've created a textfield called profile_real_name which the user fills out when registering. How do I access this variable in the node.tpl.php?
I used the dsm($user)
function to output the user variables and it contained everything except the data for the profile_real_name
I also ran dsm($vars)
on the phptemplate_preprocess_user_profile
and I could see it contained an object called account which did contain the info I needed but this object isn't available in the $user variable.
Many thanks