Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 9 replies - 101 through 109 (of 109 total)
  • @qrahaman

    Participant

    I’m interested in knowing if there’s a solution to this question.

    @qrahaman

    Participant

    @ewebber, your site looks inviting! Alas, I live in Las Vegas. If you don’t mind, which plugin are you using for the “Business” tab as well as the categories? Thank you!

    @qrahaman

    Participant

    @mercime, this doesn’t appear to be resolved. I’ve clicked on just about every link and the site activity still shows on every page.

    @qrahaman

    Participant

    @mercime. Thanks!

    Okay, that referenced information is what I stared at for a long time (I’m really new at this…) and the following is what I came up with:

    `function bp_dtheme_enqueue_styles() {
    // Bump this when changes are made to bust cache
    $version = ‘20110804’;

    // Default CSS
    wp_enqueue_style( ‘bp-default-main’, get_template_directory_uri() . ‘/_inc/css/default.css’, array(), $version );

    wp_enqueue_style( ‘bp-child-style’, get_stylesheet_directory_uri() . ‘/style.css’, array(), $version );

    // Right to left CSS
    if ( is_rtl() )
    wp_enqueue_style( ‘bp-default-main-rtl’, get_template_directory_uri() . ‘/_inc/css/default-rtl.css’, array( ‘bp-default-main’ ), $version );
    }
    add_action( ‘wp_print_styles’, ‘bp_dtheme_enqueue_styles’ );`

    You may notice that in the second enqueue statement, I used `get_stylesheet_directory_uri()` to pull the child’s directory. Is that correct? No where in the referenced information does it use that function, only `get_template_directory_uri()` which presumably pulls the parent directory. Given that the directory function I used was not in the referenced information, I wonder if there is alternative, straightforward way that a seasoned developer would use.

    @qrahaman

    Participant

    @sbruner, apparently the function ‘bp_search_form_enabled’ has been deprecated in BP 1.5:

    http://phpxref.ftwr.co.uk/buddypress/nav.html?_functions/index.html

    @qrahaman

    Participant

    So the code in my previous post doesn’t show. Since then, this is what I’ve included in my child theme’s functions.php file (and I have NOT done an @import within my style.css file):

    http://chopapp.com/#2s3gjzs6

    This seems to work. Is the syntax for enqueuing the style.css file correct? Is this the right way to do it? Thanks.

    By the way, I see that other folks are able to paste code into the comments/replies. I don’t know how to do that, hence the link. Could someone enlighten me? ;-)

    @qrahaman

    Participant

    @gregfielding: Could you let me know what step I’m missing or applying incorrectly? I have the same issue that you mentioned in your original post. So, after reading all of the recommended material regarding creating a child theme for BP 1.5 Beta 1 thru 3, the styling in my child’s style.css file still won’t be recognized (And I’m still in a slowly clearing fog. Too slow.). Here’s what I did:

    1. Created my child theme folder,
    2. In that I created a blank functions.php file and then added to it:

    `<?php
    if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
    function bp_dtheme_enqueue_styles() {}
    endif;
    ?>`

    3. I reloaded my browser, and the default styling isn’t there. Great.
    4. Now, to my child’s style.css file, I do what I’ve done before and add the @import code:
    @import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/default.css );
    5. I did Step 4 because I want to load and override the default styling, not start from scratch.

    Could you point me in the right direction? Thanks.

    @qrahaman

    Participant

    @enderandrew, I’ve just installed 1.5 Beta 3, and tried to recreate the issue I had with the checkboxes mentioned in my earlier post. This is issue appears to have been solved.

    @qrahaman

    Participant

    @enderandrew, I do not have your issue on 1.2.9 nor 1.5 Beta 2. The only issue I have is that the checkboxes options field that I add to XProfile, do not show up in BP 1.5 Beta 2 (only the first checkbox option does), while all options display in BP 1.2.9.

Viewing 9 replies - 101 through 109 (of 109 total)
Skip to toolbar