Hi, just to make it clear I know just enough to be dangerous.
I would like to hide the Media navigation tab completely from non-logged in users and users that are not validated yet.
I have put together this code that I use elsewhere for the purpose of hiding stuff from non-logged in/not validated users:
Template: header
nav_tab_remove.css (I created this css)
".navTab.media" does not appear to be it's correct name, does anyone know what the correct name is, or do I need to handle the media tab differently. Thanks.
I would like to hide the Media navigation tab completely from non-logged in users and users that are not validated yet.
I have put together this code that I use elsewhere for the purpose of hiding stuff from non-logged in/not validated users:
Template: header
Code:
<xen:if is="!{$visitor.user_id} or {$visitor.user_state} != 'valid'">
<xen:require css="nav_tab_remove.css" />
</xen:if>
nav_tab_remove.css (I created this css)
Code:
.navTabs .navTab.resources .navLink {display: none;}
.navTabs .navTab.media .navLink {display: none;}
".navTab.media" does not appear to be it's correct name, does anyone know what the correct name is, or do I need to handle the media tab differently. Thanks.