Support Forum
I have disabled the first "Profile" tab completely in "Profile Tabs & Menus". So my first tab on the users forum profile should be "Options" now. The only problem is that this "Options" tab is not opened by default (like the profile tab). I need to click it first.
Just tried to move the "Options" tab above the "Profile" tab, but the behavior doesn't change. Looks like the auto expanding tab is statically set on "Profile".
yes... but you can change it... in your theme, you will find the template function that launches the profile...
sp_ProfileEdit()
just change it to
sp_ProfileEdit('options');
and that one will come up by default...
but in your case, what was coming up? nothing? will have to make sure there is fallback in place if there isnt a profile tab - not sure anyone has ever removed that tab...
Visit Cruise Talk Central and Mr Papa's World
I refer users to the WordPress profile page, so I don't need that tab. Keeping everything minimalistic. The tabs are loaded but the first one, in my case "Options" is not opened. But it works good after clicking the tab
Guess it has something to do with jQuery activating the first tab. Your suggestion work great. Thanks!
Before click (without fix):
After click (without fix):
yeah, what i was saying... have opened a ticket for a fallback if the selected tab does not exist to pick the first tab in the list...
but you can always select any tab to open first as I detailed... thanks for the heads up...
Visit Cruise Talk Central and Mr Papa's World
have already made a code change to handle this... easier to handle in the tab passed in the ajax... but thanks!
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)