1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Disable Drop Down Menu On Tabs

Discussion in 'XenForo Questions and Support' started by kingston, Oct 11, 2013.

  1. kingston

    kingston Well-Known Member

    How do I disable drop down menus on certain tabs or all tabs? Thanks!
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Example:

    Admin CP -> Appearance -> Templates -> navigation

    Remove the red code:

    Code:
    		<!-- members -->
    		<xen:if is="{$tabs.members}">
    			<li class="navTab members {xen:if $tabs.members.selected, 'selected', 'Popup PopupControl PopupClosed'}">
    			
    				<a href="{$tabs.members.href}" class="navLink">{$tabs.members.title}</a>
    				<a href="{$tabs.members.href}" class="SplitCtrl" rel="Menu"></a>
    				
    				<div class="{xen:if {$tabs.members.selected}, 'tabLinks', 'Menu JsOnly tabMenu'} membersTabLinks">
    					<div class="primaryContent menuHeader">
    						<h3>{$tabs.members.title}</h3>
    						<div class="muted">{xen:phrase quick_links}</div>
    					</div>
    					<ul class="secondaryContent blockLinksList">
    					<xen:hook name="navigation_tabs_members">
    						<li><a href="{xen:link members}">{xen:phrase notable_members}</a></li>
    						<xen:if is="{$xenOptions.enableMemberList}"><li><a href="{xen:link members/list}">{xen:phrase registered_members}</a></li></xen:if>
    						<li><a href="{xen:link online}">{xen:phrase current_visitors}</a></li>
    						<xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen:phrase recent_activity}</a></li></xen:if>
    					</xen:hook>
    					</ul>
    				</div>
    			</li>
    		</xen:if>
    
     
  3. kingston

    kingston Well-Known Member

    Thank you!
     
  4. akia

    akia Well-Known Member

    Is it possible to do this on a guest/member basis?
     

Share This Page