Closed (fixed)
Project:
Quick Tabs
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2009 at 21:24 UTC
Updated:
20 Dec 2014 at 02:16 UTC
Jump to comment: Most recent
Comments
Comment #1
pasqualleThe simple answer is no, the empty or inaccessible tab cannot be hidden, and this is the issue: #292150: Hide empty tabs
The long answer is #332895: render quicktab programatically If you not afraid of some php code you can do it.
if you add a simple condition to your code, then the given tab won't be visible (won't be created) for anonymous users..
for example like this:
Comment #2
michelleThanks for the quick response. I did search but I was looking for access control, not empty, so totally missed the existing issue.
I'm not afraid of a little PHP. ;) Thanks for the example. I can take it from here, I think, so setting this fixed.
Michelle
Comment #3
michelleActually... I can do this no problem but I'm sure I'm not the only one in this boat. I was just thinking that a feature request could be to simply put an access control option on each tab. Rather than worrying about what the view is doing, simply set the tab to be viewable by authenticated users only.
Just tossing the idea out there. If it's not possible, that's fine.
Michelle
Comment #4
netw3rker commented