Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • @64tees

    Participant

    I’ve had to another route, I’m trying to add a logged in users nav into all pages, I can do this by adding this code to my page template:

    <div class=”left-nav”>
    <?php bp_get_displayed_user_nav(); ?>
    <?php do_action( ‘bp_get_options_nav’ ); ?>
    </div>

    But all the links then rendered are relative it doesn’t work, is there a way of making this work globally?

    @64tees

    Participant

    I managed to fix this, basically the page template needs to be in your buddypress directory inside your theme. /your_theme/buddypress/page.php

    @64tees

    Participant

    It’s a theme, I just thought a plugin might have this code, I will try place that in the header.php

    Cheers

    @64tees

    Participant

    I see, thanks for the info guys!

    @64tees

    Participant

    If I create a bp-custom.php in my theme directory will it work then??

    @64tees

    Participant

    I need it in my theme though, so when I distribute it the file will reset the original function

    @64tees

    Participant

    Tried pasting the function int my themes functions.php but no joy, hm..

    @64tees

    Participant

    Ok I will have a go, I’ll post back my results, cheers!

    @64tees

    Participant

    Thats how I’ve worked it in the example, but I have to go into plugins/buddypress/ directory to edit that, I want to know if I can copy those parameters over to my functions.php and overwrite the core buddypress ones.

    Know what I mean? I have other functions/declarations that I would like to overwrite, this is just one example

    @64tees

    Participant

    It defines the sizes of the avatars, large and medium, I’ve set medium to be slightly larger than the original. But I don’t like modifying the core.

Viewing 10 replies - 1 through 10 (of 10 total)
Skip to toolbar