Skip to:

defult submenu on profile page

  • hi,
    once creacted a new submenu in profile how do you make it defult?
    you can position it to be the 1st but it will still go to the activity submenu so its not position..


Viewing 2 replies - 1 through 2 (of 2 total)
  • Are you using `bp_core_new_nav_item` ?
    If you set the position to any value less than 10, it should work since Activity’s position is 10.

    bp_core_new_nav_item( array(
    ‘name’ => ‘Your Item’,
    ‘slug’ => ‘yourslug’,
    ‘position’ => 9, // Activity is 10, so any value lower than 10 should work
    ‘screen_function’ => ‘your_screen_function’,
    ‘default_subnav_slug’ => ‘your_default_subnav_slug’,
    ) );

    @liping this is what i have!
    when you press on the user link you go to his profile /members/userName
    and the screen you see in the sub nav is activity
    what i want to know is what setting the defult screen on the profile single page
    setting your sub nav to be first not working

    i know it’s somthing with the $bp global defult component just didnt know how to do it.
    well here is the solution:

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘defult submenu on profile page’ is closed to new replies.
Skip to toolbar