C:/drupal/modules/profile/profile-listing.tpl.php File Reference

Go to the source code of this file.


Variables

print $picture
print $name


Detailed Description

Default theme implementation for displaying a user and their profile data for member listing pages.

See also:
profile-wrapper.tpl.php where all the data is collected and printed out.
Available variables:

Each $field in $profile contains:

Since $profile is keyed, a direct print of the field is possible. Not all accounts may have a value for a profile so do a check first. If a field of "last_name" was set for the site, the following can be used.

<?php if (isset($profile['last_name'])): ?>

<?php print $profile['last_name']->title; ?>:
<?php print $profile['last_name']->value; ?>
<?php endif; ?>

See also:
template_preprocess_profile_listing()

Definition in file profile-listing.tpl.php.


Variable Documentation

Definition at line 43 of file profile-listing.tpl.php.

Referenced by _db_create_field_sql(), _db_create_index_sql(), _db_create_keys(), _db_query(), _drupal_initialize_schema(), _form_builder_handle_input_element(), _init_theme(), _node_mass_update_helper(), _registry_check_code(), _theme_process_registry(), _update_build_fetch_url(), _xrds_element_end(), _xrds_element_start(), _xrds_strip_namespace(), DrupalWebTestCase::assertFieldByName(), DrupalWebTestCase::assertNoFieldByName(), db_add_index(), db_add_unique_key(), db_create_table(), db_create_table_sql(), db_drop_index(), db_drop_unique_key(), db_set_active(), dblog_filter_form_submit(), drupal_get_filename(), drupal_get_path(), drupal_install_profile_name(), drupal_install_schema(), drupal_load(), drupal_mail_send(), DrupalWebTestCase::drupalCreateContentType(), DrupalWebTestCase::drupalModuleDisable(), DrupalWebTestCase::drupalModuleEnable(), DrupalWebTestCase::drupalPost(), update_xml_parser::end(), file_create_filename(), file_save_upload(), file_scan_directory(), filter_admin_format_form(), filter_admin_format_form_submit(), filter_admin_format_form_validate(), filter_admin_overview(), flood_is_allowed(), flood_register_event(), form_set_error(), DrupalWebTestCase::handleForm(), help_links_as_list(), help_page(), install_select_locale_form(), install_select_profile_form(), locale_add_language(), locale_translate_overview_screen(), menu_get_active_help(), menu_get_names(), module_iterate(), module_list(), module_load_all_includes(), module_load_include(), node_overview_types(), profile_browse(), registry_mark_code(), NestingXmlTag::setName(), update_xml_parser::start(), system_module_build_dependencies(), system_modules_confirm_form(), system_modules_submit(), system_theme_settings(), DrupalWebTestCase::tearDown(), theme(), theme_filter_tips(), theme_get_settings(), theme_user_admin_new_role(), theme_username(), timer_read(), timer_start(), timer_stop(), update_check_incompatibility(), user_admin_perm(), user_admin_perm_submit(), user_pass_validate(), variable_del(), variable_get(), variable_init(), variable_set(), and xmlrpc_value_get_xml().

print $picture

Definition at line 40 of file profile-listing.tpl.php.


Generated on Mon Jun 2 15:08:27 2008 for SimpleTest by  1.5.5