Hutchy68 / pivot

A MediaWiki mobile skin which "Pivots" seamlessly to any size display.
https://pivot.wikiproject.net
BSD 2-Clause "Simplified" License
37 stars 18 forks source link

Tabs doesn't appear #55

Closed ingemarwiklund closed 6 years ago

ingemarwiklund commented 6 years ago

Setup

http://grundskoleboken.se/wiki/Special:Version

Issue

I've just copy-pasted the code from the pivot homepage, but no tabs appear, just the text:

Tab 1Tab 2Tab 3Tab 4 This is the first panel of the basic tab example. You can place all sorts of content here including a grid.

Code: http://grundskoleboken.se/wiki/Sandl%C3%A5dan

Hutchy68 commented 6 years ago

Hey @ingemarwiklund

Please take a look at https://pivot.wikiproject.net/wiki/Pivot_features#Explanations_of_Feature_Choices

You need to turn on tabs then everything should work as expected. Let me know.

ingemarwiklund commented 6 years ago

It was this row: 'usePivotTabs' => false − will prevent Foundation 5 tab coding to pass through HTML sanitizer, "true" will allow this.

That text row wasn't even included in the text I put in localsettings.php when I installed pivot.

Adding it under fixed navbar in the list solved the problem. Thanks a lot for fast response :)

    'fixedNavBar' => false,
    'usePivotTabs' => true,
Hutchy68 commented 6 years ago

Answered, closing.