Skip to:
Content
Pages
Categories
Search
Top
Bottom

Cleaning Tabs in Profile-View

  • Avatar of idotter
    idotter
    Participant

    @idotter

    I just started to build my community prototype. On the profile-view of a user there are few tabs:

    Activity Profile Blogs (1)Friends (0) Groups (3) Personal Friends Groups Favorites @admin Mentions

    I think it is too much for the user, it should be Activity, @ Mentions, Profile, Friends, Groups and maybe Blogs. Is there a possibility to clean the rest out?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of rich! @ etiviti
    rich! @ etiviti
    Participant

    @nuprn1

    It may be possible to change up the bp_core_new_nav_item and bp_core_new_subnav_item but each activated component and/or plugins will add their own items.

    you’ll probably need to dig around in $bp->bp_nav and $bp->bp_options_nav and remove whatever from the array. (no idea what unpredictable results may happen)

    Avatar of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    Don’t dig around in the array, use

    bp_core_remove_nav_item() and bp_core_remove_subnav_item()

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

You must be logged in to reply to this topic.