Topic on Extension talk:Header Tabs

Tabs Not Displaying Form

7
Foreclosurepedia (talkcontribs)

MW 1.34.2, Header Tabs 1.2. Have a form with a template built out with Page Forms and Cargo. Installed Header Tabs. Tabs pop up but only the last tab shows the Form. It is a single Template and a single Form. I would like to split the Form into tabs. So, link here: https://digitalmatrixgroup.com/index.php/Form:Investor_Asset and here https://digitalmatrixgroup.com/index.php/Template:Investor_Asset. The example link listed in your Extension page does not allow viewing any code and looks like a regular web page. I put links to the photo examples here which document where I put the '=Tab=' info into the Form and I added the end "<headertabs/>" before the Standard sections: https://pasteboard.co/JoXbcZI.png ... https://pasteboard.co/JoXbV6F.png ... https://pasteboard.co/JoXc6C8.png ... I asked over on the IRC but no one really had a response. Thanks for your time!

Yaron Koren (talkcontribs)

You should upgrade to the latest version of Header Tabs, 2.0, if possible - it just came out a few weeks ago, and it improves in a few key ways on the previous version.

Foreclosurepedia (talkcontribs)

I have been trying to keep all extensions matching the Stable Version of MW I run, but I upgraded to v2.0 just now and no change. I ran the Purge and Purge Cache on the Form as well. Any other suggestions or points I might be missing? Thanks!

Yaron Koren (talkcontribs)

I just looked at the form - I think the issue is that you put the tabs inside a table. That won't work, I don't think - if you're going to have three tabs, you should have three separate tables, each one in its own tab.

Foreclosurepedia (talkcontribs)

Worked like a charm! Thank you very much! There is something different that happens now, though. The tab being used is colored white as opposed to light blue. Do not know if that is important and would be curious how to either change the color from white to "x" when it is active or statically. Regardless, thanks for taking the time to both look and answer and have a great day!

Yaron Koren (talkcontribs)

Great! Well, in v2.0 of Header Tabs, the underlying JS library being used changed from jQuery UI to OOUI - which is a MediaWiki-specific library. I don't know how to change any of the colors - I assume it can all be done with CSS. If you really prefer the older look, I guess you could just revert Header Tabs back to the older version - it should still work.

Foreclosurepedia (talkcontribs)

I'll stick with what is working now and delve into CSS down the road. Thanks again for the help!!!

Reply to "Tabs Not Displaying Form"