Skip to:
Content

BuddyPress.org

Ticket #1044: (JASON_JM)(BP)home.php_ticket-1044(v1).patch

File (JASON_JM)(BP)home.php_ticket-1044(v1).patch, 851 bytes (added by Jason_JM, 15 years ago)

V1 of the patch.

  • bp-themes/bp-sn-parent/home.php

    # This patch file uses platform neutral UTF-8 encoding.
    # Patch for Ticket# 1044 http://trac.buddypress.org/ticket/1044
    # - Home page of default parent theme is using the incorrect widget section for
    #   the first-section div.
    # Jason Giedymin - AcronymLabs.com
     
    66
    77                <div id="first-section" class="widget-section">
    88                        <?php if ( !function_exists('dynamic_sidebar')
    9                                 || !dynamic_sidebar('third-section') ) : ?>
     9                                || !dynamic_sidebar('first-section') ) : ?>
    1010
    1111                        <div class="widget-error">
    1212                                <?php _e( 'Please log in and add widgets to this section.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&amp;show=&amp;sidebar=third-section"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>