evoYTTabs: frequently asked questions and troubleshooting
General questions
Does it work without YOOtheme Pro?
No. It is an element of the YOOtheme Pro 5.0 or later Builder. Without it, the installer will not let you install it.
What can I put inside a tab?
Any Builder element: grids, panels, sliders, text, images or other Tabs. Each tab is a sublayout.
Can I have several Tabs on the same page?
Yes. Each instance has its own identifier, so there are no clashes. If you turn on the URL tab, see below what happens with repeated titles.
Does it add weight to the page?
It has no CSS of its own and uses the UIkit components that YOOtheme already loads. If you turn on the URL tab or the mobile menu, that page loads a small script with no dependencies. Pages without those options load nothing extra.
Is all the tab content in the page HTML?
Yes. Every panel is written into the HTML and UIkit hides the inactive ones. If a panel is heavy (a slider, videos), it weighs the same whether or not its tab is open.
Does it work with Joomla's page cache?
The active tab is resolved in the browser, not on the server. The markup the plugin generates does not depend on the user or the request, so you do not need to turn the cache off.
Settings
I changed a plugin setting and my Tabs did not change.
That is expected. The plugin settings are the values new Tabs start with; Tabs already on a page keep what they saved. To change an existing one, edit it in the Builder.
The Alignment option is disabled.
It only applies with the navigation at the top or bottom. With Left or Right, the option is disabled.
I left a title empty and the tab is called "Tab 2".
A tab without a title is shown as "Tab" plus its position, in English in every language. Type a title.
The navigation's accessible name is in English.
With nothing in "Navigation label", the plugin's text is used according to the site language: "Pestañas" in Spanish and "Tabs" in English. For other languages, "Tabs" is used. Type your own text in the field to fix it.
The Builder editor texts are in English.
The editor uses the English text as its key, and the plugin includes a Spanish translation for Spain (es_ES). With any other site language, the editor shows English.
Active tab in the URL
The address does not change when I switch tabs.
Check that Active tab in URL is set to "Hash (#tab-name)" on that Tabs. Tabs created before you turned it on in the plugin do not inherit it: it is an option of each element.
I arrive with a fragment and the first tab opens.
If the fragment matches no tab, it is ignored and the first one stays open. The comparison ignores case, but not the rest of the text: #Pricing-and-plans matches "Pricing and plans"; #pricing does not. Identifiers are explained in the reference.
Two Tabs switch at once with a single link.
Each Tabs reacts to the fragment on its own. If two Tabs on the same page have a tab with the same title, the same link opens it in both. Use different titles.
Does it add entries to the browser history?
No. The address is updated with history.replaceState. The Back button does not step through tabs.
Mobile menu
On narrow screens I see the menu but it does not switch tabs.
The menu needs the evoyttabs.js script. If something blocks it (script optimisation, a blocker), the tab bar stays hidden by CSS on narrow screens and the menu is display only. Check that the script loads on that page.
From what width does it apply?
With "Below 640px", below 640 px. With "Below 960px", below 960 px. These are UIkit's @s and @m breakpoints.
Checks
How do I know whether the plugin and the elements are in order?
With evoMCP, the evoyttabs_status tool tells you whether the plugin is enabled, the YOOtheme version and whether the files of the two elements are complete. Without evoMCP, look at System → Plugins and at the Builder element library, in the evoAddons group.
The Tabs element does not appear in the Builder.
- In System → Plugins, check that "System - evoYTTabs" is enabled.
- Check that YOOtheme Pro is version 5.0 or later and that the template is in
templates/yootheme. - Clear the Joomla and YOOtheme caches and reload the Builder.