user-profile.tpl.php

user-profile.tpl.php

Default theme implementation to present all user profile data.

This template is used when viewing a registered member's profile page, e.g., example.com/user/123. 123 being the users ID.

Use render($user_profile) to print all profile items, or print a subset such as render($user_profile['user_picture']). Always call render($user_profile) at the end in order to print all remaining items. If the item is a category, it will contain all its profile items. By default, $user_profile['summary'] is provided, which contains data on the user's history. Other data can be included