5 Posts
rfma
6 years ago
3
Topic

Hello!

I'm trying to hide a tab with a conditional state. I can get the content of the tab to hide but the tab's "label" is still showing. 

Does anyone know a solution for this? Is it possible to hide a tab with a conditional state or is there any other solution?

Thank you!

Get a VIP membership
4229 Posts
Kadministrator
6 years ago
2
Level 1

nothing bilt in that I would know of - you could do it using custom javascript or custom template that would incorporate necessary logic.

5 Posts
rfma
6 years ago
1
Level 2

Hello

My bad. I did not pay attention to seblod's extensions well enough. 

The intention was to hide a tab in the content view - based on the contents of another field. 

Seblod's field restriction plugin does the job, perfectly!

Thank you!

4229 Posts
Kadministrator
6 years ago
0
Level 3

Glad you solved it, I didn't realize you are using fields to build tabs (vs. tabbed template..)

Get a VIP membership