Skip to:
Content
Pages
Categories
Search
Top
Bottom

sidbar does not show in page member or active ….. in Thematic Child Theme

  • hello everybody
    i use buddypress bluing problem is i can’t show sidbar in page member or active all new page for bd
    i try make change in file member/index.php and add get_sidebar(); but nothing change
    information
    i use child theme “thematic”
    any one have idea how can i fix this problem pleas

Viewing 4 replies - 1 through 4 (of 4 total)

  • @mercime
    Participant

    @mercime

    So you created a child theme of Thematic and then you installed & activated BP Template Pack plugin and have gone through Appearance > BP Compatibility?

    Open up child theme’s header.php file, copy all code, paste in pastebin.com, click submit and post the generated URI here. Do the same for your theme’s footer.php, sidebar.php, index.php and page.php files. If you do not have such file/s in your child theme, copy the same file from parent theme Thematic.

    yes i do
    header.php //for child theme
    http://pastebin.com/iDn46q7j
    sidebar.php
    http://pastebin.com/ZNVkfPW0
    footer.php
    http://pastebin.com/fT1VPM8n

    now
    child theme / member/index.php
    http://pastebin.com/a8AV5Q4r


    @mercime
    Participant

    @mercime

    Based on the structure of Thematic, you would have to change 16 template files within the 6 BP folders transferred to your Thematic child theme during the BP Compatibility process.

    Download the 6 folders mentioned above – activity, blogs, forums, groups, members, registration – to your computer hard drive.

    A. Open up each of the 16 BP files and at the Top of each file replace:
    `

    `

    with:
    `<?php
    // calling the header.php
    get_header();
    // action hook for placing content above #container
    thematic_abovecontainer();
    ?>

    <?php
    // calling the widget area ‘page-top’
    get_sidebar(‘page-top’);
    the_post();
    thematic_abovepost();
    ?>
    <div id="post-<?php the_ID();
    echo ‘” ‘;
    if (!(THEMATIC_COMPATIBLE_POST_CLASS)) {
    post_class();
    echo ‘>’;
    } else {
    echo ‘class=”‘;
    thematic_post_class();
    echo ‘”>’;
    }
    // creating the post header
    thematic_postheader();
    ?>

    `

    @mercime
    Participant

    @mercime

    B. At the bottom of each file, replace
    `

    `

    with the following (except for registration/register.php file);
    `

    <?php
    thematic_belowpost();
    // calling the widget area ‘page-bottom’
    get_sidebar(‘page-bottom’);
    ?>


    <?php
    // action hook for placing content below #container
    thematic_belowcontainer();
    // calling the standard sidebar
    thematic_sidebar();
    // calling footer.php
    get_footer();
    ?>`

    with the following for registration/register.php
    `

    <?php
    thematic_belowpost();
    // calling the widget area ‘page-bottom’
    get_sidebar(‘page-bottom’);
    ?>

    jQuery(document).ready( function() {
    if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
    jQuery(‘div#blog-details’).toggle();
    jQuery( ‘input#signup_with_blog’ ).click( function() {
    jQuery(‘div#blog-details’).fadeOut().toggle();
    });
    });

    <?php
    // action hook for placing content below #container
    thematic_belowcontainer();
    // calling the standard sidebar
    thematic_sidebar();
    // calling footer.php
    get_footer();
    ?>`

    Save all files. Upload 6 folders with revised files to your server.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘sidbar does not show in page member or active ….. in Thematic Child Theme’ is closed to new replies.
Skip to toolbar