Tagged: profile tabs
hello, i saw that you helped someone with a similar issue a couple years ago on this thread:
I have too many top level tabs and it makes it impossible for people to see them all.
I want it to be like this:
Profile Activity <customyopnav> <themetopnav>
-Messages -Forums -subnav -subnav
as it is everything i want under profile and activity are all top navs so they just spread over the edge of the screen and dont fit on the page. also it makes for a way better flow for my user this way.
also as a temporary workaround is there a way to make the extra top navs just take up a line below the others instead of going off page?
Thank you for the question.
In BuddyPress, if you modify the url of a component, It will be broken as the screen handlers are attached with mostly hardcoded urls(slugs).
The solution is to use greedy nav for profile tabs. It shows only limited number of tabs and remaining tabs become part of dropdown.
Another solution(if you really want to link some tabs as sub tabs) is by using the Profile Tabs plugin, create an entry for the tab under which you want to move other tabs.
Once you create the entry, add other tabs as sub nav of that entry. In its link (sub nav’s) option, please use our dynamic linking capability to link to other tabs.
Now, it does not remove the existing tab but creates sub navs under another tab and links to the existing tab that you want to hie. Once you have done it, I suggest using css to hide the tab. It is not a great solution but a compromise.
If I have to prefer, I will go with greedy nav using extra css/js.
if I use greedy nav as you suggested, I will still have all the same tabs and extra jss/css to load, but if i use your plugin and css to hide tabs ill have some extra css but wouldnt that still render the hidden tab content, so rendering it twice on every profile load?
Brajesh, you are my buddypress hero. your help last night showing me how to use your plugin was invaluable!
now my tabs look perfect!
SO HAPPY NOW!!!!!!!!
I only have one minor concern I think you can help me with this.
the subtabs we made with your plugin do not like to display properly in responsive view, the page content goes over them
You must be logged in to reply to this topic.