user-profile-category.tpl.php

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.

where each profile item is rendered. It is implemented as a definition list by default. 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

user-profile-item.tpl.php

user-profile.tpl.php

template_preprocess_user_profile_category()

File

modules/user/user-profile-category.tpl.php

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!user!user-profile-category.tpl.php/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部