Search
Other Tabs & Accordions questions
Forum

Hide empty tab

Troy Mumm's Avatar Troy Mumm
I'm using tabs in an override with some dynamic content. Sometimes there is one thing and sometimes two. Is there anyway to use an if statement or something to hide a tab if title is empty, so I don't get an empty title and empty tab? For example on here, if there was an opening act it will display in second tab: dev2024.thestateroompresents.com/state-r...presents/wildflowers
Peter van Westen's Avatar Peter van Westen ADMIN
If you are doing this in an override, I assume this is in a php file. So why not do that check with php?
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription