I have QuickTabs with 4 tabs that I only want authorized users to see on the front page. I cannot seem to hide it from users that are not logged in!
The permissions only show administer by role, it would be great if there was 'View QuickTabs' in the permissions too.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | quicktabs permission.jpg | 25.48 KB | truyenle |
Comments
Comment #1
pasqualleyou can set block visibility by role, when you edit the quicktab block (configure link on admin/build/block page)
Comment #2
wayne57 commentedooops! My bad! couldn't see the wood for the trees! many thanks.
Comment #3
pasqualleComment #5
truyenle commentedHi Pasqualle,
How about if you use views2 in tabs of quicktabs.
I assume that we can use Access under basic setting to restrict the access by role.
I did that and Anonymous users don't see the Views display under tabs only the string "You are not authorized to access this content.". But the tabs are still there. Please see the image.
How can we hide these tabs completely to anonymous users?
Please help.
Thank
Truyenle
Comment #6
pasqualleYou can hide the empty (or restricted) tab by enabling "Hide empty tabs" on QT edit page. This option does not work in ajax mode.
You can also change the "You are not authorized to access this content." text, with overriding the theme function. use:YOURTHEME_quicktabs_tab_access_denied in template.php
Comment #7
truyenle commentedThank, that's work for me Pasqualle.
Comment #8
netw3rker commented