as title. Thanks

Comments

rickydrupal’s picture

I found some topic related to edit the user-picture.tpl.php.

I added in it:

(line20)   $pict =  $content_profile->get_variable('profile', 'field_photo_0');
(line21)   $title =  $content_profile->get_variable('profile', 'title');
(line22)   print theme('imagecache','70x70', "user_pictures/".check_plain($account->uid)."/".$pict[0]['filename'], $title, $title);

But display:
Fatal error: Call to a member function get_variable() on a non-object in D:\\user-picture.tpl.php on line 20

quicksketch’s picture

Status: Active » Closed (fixed)

You have to use the content profile module to accomplish what you are describing. As such I suggest you check the documentation and issues for that module: http://drupal.org/project/content_profile. Closing this issue directly due to its age.