Hide/Show divs dependant on membership level

8 years 1 month ago #187452 by reders
Hi,

Is it possible to hide/show divs dependent on a subscription level?
I know you can show/hide modules dependent on sub level.

I am developing a website for a customer who sells reports,
certain reports will be available at certain sub levels.

I am using K2 and the attachment function to attach PDFs to k2 items.
I want to hide/show the div 'itemAttachmentsBlock' in the file item.php (components/k2/templates/default)

Is there any php i can add to this file to achieve this?
8 years 1 month ago #187474 by opocaj
I don't use K2 so I'm not sure I understand the problem, but

In the "Tab Management" edit the tab you want to show only to some groups.
At the bottom of the page you'll see a "User Group to allow access to:"
Select the groups you want to see that tab.
The others won't see it even in edit mode
Moderators: beatnantkrileon
Time to create page: 0.406 seconds

Facebook Twitter LinkedIn