home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (profile-wrapper.tpl.php)

This example Drupal source code file (profile-wrapper.tpl.php) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

div, id, php, profile

The profile-wrapper.tpl.php Drupal example source code

// $Id: profile-wrapper.tpl.php,v 1.3 2008/10/13 12:31:42 dries Exp $

 * @file
 * Default theme implementation for wrapping member listings and their
 * profiles.
 * This template is used when viewing a list of users. It can be a general
 * list for viewing all users with the url of "example.com/profile" or when
 * viewing a set of users who share a specific value for a profile such
 * as "example.com/profile/country/belgium".
 * Available variables:
 * - $content: User account profiles iterated through profile-listing.tpl.php.
 * - $current_field: The named field being browsed. Provided here for context.
 *   The above example would result in "last_name". An alternate template name
 *   is also based on this, e.g., "profile-wrapper-last_name.tpl.php".
 * @see template_preprocess_profile_wrapper()
<div id="profile">
  <?php print $content; ?>

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal profile-wrapper.tpl.php source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.