user-profile-category.tpl.php

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

user-profile-category.tpl.php Default theme implementation to present profile categories (groups of profile items).

Categories are defined when configuring user profile fields for the site. It can also be defined by modules. All profile items for a category will be output through the $profile_items variable.

See also

user-profile-item.tpl.php

where each profile item is rendered. It is 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: Category title for the group of items.
  • $profile_items: All the items for the group rendered through user-profile-item.tpl.php.
  • $attributes: HTML attributes. Usually renders classes.

See also

template_preprocess_user_profile_category()

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.