user-profile.tpl.php

  1. cis7 sites/all/themes/ulmus/aurora/templates/user/user-profile.tpl.php
  2. cis7 modules/user/user-profile.tpl.php
  3. cis7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/user-profile.tpl.php
  4. cle7 sites/all/themes/ulmus/aurora/templates/user/user-profile.tpl.php
  5. cle7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/user-profile.tpl.php
  6. cle7 modules/user/user-profile.tpl.php
  7. ecd7 modules/user/user-profile.tpl.php
  8. ecd7 sites/all/themes/ulmus/aurora/templates/user/user-profile.tpl.php
  9. ecd7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/user-profile.tpl.php
  10. elmsmedia7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/user-profile.tpl.php
  11. elmsmedia7 sites/all/themes/ulmus/aurora/templates/user/user-profile.tpl.php
  12. elmsmedia7 modules/user/user-profile.tpl.php
  13. harmony7 modules/user/user-profile.tpl.php
  14. harmony7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/user-profile.tpl.php
  15. harmony7 sites/all/themes/ulmus/aurora/templates/user/user-profile.tpl.php
  16. icor7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/user-profile.tpl.php
  17. icor7 sites/all/themes/ulmus/aurora/templates/user/user-profile.tpl.php
  18. icor7 modules/user/user-profile.tpl.php
  19. meedjum_blog7 sites/all/themes/ulmus/aurora/templates/user/user-profile.tpl.php
  20. meedjum_blog7 modules/user/user-profile.tpl.php
  21. meedjum_blog7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/user-profile.tpl.php
  22. mooc7 sites/all/themes/ulmus/aurora/templates/user/user-profile.tpl.php
  23. mooc7 modules/user/user-profile.tpl.php
  24. mooc7 sites/all/themes/ulmus/adaptivetheme/at_core/templates/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 by modules. $user_profile['user_picture'] is available for showing the account picture.

Available variables:

  • $user_profile: An array of profile items. Use render() to print them.
  • Field variables: for each field instance attached to the user a corresponding variable is defined; e.g., $account->field_example has a variable $field_example defined. When needing to access a field's raw values, developers/themers are strongly encouraged to use these variables. Otherwise they will have to explicitly specify the desired field language, e.g. $account->field_example['en'], thus overriding any language negotiation rule that was previously applied.

Where the html is handled for the group. Where the html is handled for each item in the group.

See also

user-profile-category.tpl.php

user-profile-item.tpl.php

template_preprocess_user_profile()

11 string references to the theme hook from user-profile.tpl.php

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

ctools_user_profile_content_type_render in sites/all/modules/ulmus/ctools/plugins/content_types/user_context/user_profile.inc
Render the user profile content type.
ds_entity_variables in sites/all/modules/ulmus/ds/ds.module
Add variables to an entity.
field_group_build_entity_groups in sites/all/modules/ulmus/field_group/field_group.module
Preprocess/ Pre-render callback.
field_group_fields_nest in sites/all/modules/ulmus/field_group/field_group.module
Recursive function to nest fields in the field groups.
field_group_theme_registry_alter in sites/all/modules/ulmus/field_group/field_group.module
Implements hook_theme_registry_alter().

... See full list

File

modules/user/user-profile.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * Default theme implementation to present all user profile data.
  5. *
  6. * This template is used when viewing a registered member's profile page,
  7. * e.g., example.com/user/123. 123 being the users ID.
  8. *
  9. * Use render($user_profile) to print all profile items, or print a subset
  10. * such as render($user_profile['user_picture']). Always call
  11. * render($user_profile) at the end in order to print all remaining items. If
  12. * the item is a category, it will contain all its profile items. By default,
  13. * $user_profile['summary'] is provided, which contains data on the user's
  14. * history. Other data can be included by modules. $user_profile['user_picture']
  15. * is available for showing the account picture.
  16. *
  17. * Available variables:
  18. * - $user_profile: An array of profile items. Use render() to print them.
  19. * - Field variables: for each field instance attached to the user a
  20. * corresponding variable is defined; e.g., $account->field_example has a
  21. * variable $field_example defined. When needing to access a field's raw
  22. * values, developers/themers are strongly encouraged to use these
  23. * variables. Otherwise they will have to explicitly specify the desired
  24. * field language, e.g. $account->field_example['en'], thus overriding any
  25. * language negotiation rule that was previously applied.
  26. *
  27. * @see user-profile-category.tpl.php
  28. * Where the html is handled for the group.
  29. * @see user-profile-item.tpl.php
  30. * Where the html is handled for each item in the group.
  31. * @see template_preprocess_user_profile()
  32. *
  33. * @ingroup themeable
  34. */
  35. ?>
  36. <div class="profile"<?php print $attributes; ?>>
  37. <?php print render($user_profile); ?>
  38. </div>

Related topics