Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/15/2009 01:20:07 PM (16 years ago)
Author:
apeatling
Message:

Added left hand menu's to single item pages. This will allow extra space for custom content and other pieces of missing information.

Moved template file selection for groups and members pages into a home.php template file. This will give greater control over the template names and locations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/members/single/member-header.php

    r2172 r2179  
    1 <div id="item-header">
    2     <?php bp_displayed_user_avatar( 'type=full' ) ?>
     1<h2 class="fn"><a href="<?php bp_user_link() ?>"><?php bp_displayed_user_fullname() ?></a> <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ) ?></span></h2>
    32
    4     <h2 class="fn"><a href="<?php bp_user_link() ?>"><?php bp_displayed_user_fullname() ?></a> <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ) ?></span></h2>
     3<div id="item-meta">
     4    <div id="latest-update">
     5        <?php bp_activity_latest_update( bp_displayed_user_id() ) ?>
     6    </div>
    57
    6     <div id="item-meta">
    7         <div id="latest-update">
    8             <?php bp_activity_latest_update( bp_displayed_user_id() ) ?>
    9         </div>
     8    <div id="item-buttons">
     9        <?php if ( function_exists('bp_add_friend_button') ) : ?>
     10            <?php bp_add_friend_button() ?>
     11        <?php endif; ?>
    1012
    11         <div id="item-buttons">
    12             <?php if ( function_exists('bp_add_friend_button') ) : ?>
    13                 <?php bp_add_friend_button() ?>
    14             <?php endif; ?>
     13        <?php if ( function_exists('bp_send_message_button') ) : ?>
     14            <?php bp_send_message_button() ?>
     15        <?php endif; ?>
     16    </div>
    1517
    16             <?php if ( function_exists('bp_send_message_button') ) : ?>
    17                 <?php bp_send_message_button() ?>
    18             <?php endif; ?>
    19         </div>
     18    <?php
     19     /***
     20      * If you'd like to show specific profile fields here use:
     21      * bp_profile_field_data( 'field=About Me' ); -- Pass the name of the field
     22      */
     23    ?>
    2024
    21         <?php
    22          /***
    23           * If you'd like to show specific profile fields here use:
    24           * bp_profile_field_data( 'field=About Me' ); -- Pass the name of the field
    25           */
    26         ?>
    27 
    28         <?php do_action( 'bp_profile_header_content' ) ?>
    29 
    30     </div>
     25    <?php do_action( 'bp_profile_header_content' ) ?>
    3126
    3227</div>
Note: See TracChangeset for help on using the changeset viewer.