user-profile-item.tpl.php

Version 1.2 (checked in on 2007/08/07 at 08:39:36 by goba)

user-profile-item.tpl.php Default theme implementation to present profile items (values from user account profile fields or modules).

This template is used to loop through and render each field configured for the user's account. It can also be the data from modules. The output is grouped by categories.

See also

user-profile-category.tpl.php

for the parent markup. Implemented as a definition list by default.

See also

user-profile.tpl.php

where all items and categories are collected and printed out.

Available variables:

  • $title: Field title for the profile item.
  • $value: User defined value for the profile item or data from a module.
  • $attributes: HTML attributes. Usually renders classes.

See also

template_preprocess_user_profile_item()

Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.