This topic has 2 replies, 2 voices, and was last updated 10 years by sharmstr.

  • Author

    Tagged: 

  • #14263
     sharmstr
    Moderator

    This might be a buddypress issue. I didnt dig too far into it.

    I moved the BuddyPress ‘friends’ menu item into the same menu location as members

    Community
    – Activity
    – Friends
    – Members
    – Groups

    In doing so, both ‘Friends’ and ‘Members’ are highlighted in the menu when on the ‘friends’ page because (I think) ‘members’ is in the friends slug.

    /members/xxxx/friends.

    Correct me if I’m wrong, but all Kleo is doing is looking for ‘current-menu-item’ in the class being returned by the menu, then toggling the active state. If this is the case, then I’ll bug the BuddyPress team about changing their code so it uses ‘bp_is_current_action()’ instead of ‘bp_current_action()’ which is what I think they are doing.

    If you know of way to fix this, in the Kleo code, please do tell 🙂

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #14608
     Abe
    Keymaster

    Hi there, That is related to Buddypress Menu walker I guess since it adds the class active to both items. You can bug them if you can 🙂

    Thanks

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #14622
     sharmstr
    Moderator

    Will do thanks!

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?