@henrywright and @lflier thanks a bunch for the time on this, it’s much appreciated! I’m going to play around with the information you gave me and see if I can come up with something a little later. I’ll keep you posted on my progress! Can’t thank you guys enough for your time and I look forward to reaching out soon, hopefully with some success!…[Read more]
Take a look at this example screen function from the BP Skeleton Component:
setup_custom_navfunction, instead of:
'screen_function' => 'lf_screen_function',
Maybe you can do this:
'screen_function' => 'xprofile_screen_change_avatar',
And you won’t need your
I haven’t tested this, but don’t see why doing that isn’t possible.
@lflier that sounds like a good approach. The screen function will be already written for you and as you say, creating the new subnav and removing the unwanted one is easy enough.
Component navigation is set-up in the component’s class. For example, the
setup_navmethod within the
BP_Friends_Componentclass does this for the Friends component. See here for exactly how it’s done.
To my knowledge, there is no easy way to move subnavs around.
@lflier active 6 months, 2 weeks ago