Customising the user profile layout
Wyze1 - March 6, 2008 - 09:17
Hi guys
This does'nt work anymore in Drupal 6
/**
* Catch the theme_user_profile function, and redirect through the template api
*/
function phptemplate_user_profile($user, $fields = array()) {
// Pass to phptemplate, including translating the parameters to an associative array. The element names are the names that the variables
// will be assigned within your template.
/* potential need for other code to extract field info */
return _phptemplate_callback('user_profile', array('user' => $user, 'fields' => $fields));
}
Does anybody know what I can use instead of this on the template.php or have a tutorial of how to customize the user profile in D6.
Thanks in advance

Sorry... I did'nt read For
Sorry... I did'nt read
For those who are struggling with this don't add the above code to your template.php
rename your .tpl file from user_profile.tpl.php to user-profile.tpl.php and you've got a winner...
In Open Source I Trust! Everybody Else Must Pay Cash!
thank you so much
I was struggling to customize user profile in drupal 6 for forever now