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.

CommentFileSizeAuthor
#5 quicktabs permission.jpg25.48 KBtruyenle

Comments

pasqualle’s picture

you can set block visibility by role, when you edit the quicktab block (configure link on admin/build/block page)

wayne57’s picture

ooops! My bad! couldn't see the wood for the trees! many thanks.

pasqualle’s picture

Version: 6.x-3.x-dev » 6.x-2.0-rc3
Category: feature » support
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

truyenle’s picture

Status: Closed (fixed) » Active
StatusFileSize
new25.48 KB

Hi 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

pasqualle’s picture

You 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

truyenle’s picture

Thank, that's work for me Pasqualle.

netw3rker’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)