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

Fixed extratab.counter missing

Discussion in 'Resolved Bug Reports' started by Jake Bunce, Jun 17, 2014.

  1. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    navigation template. Need to add red code to each extraTabs block:

    Code:
    	<!-- extra tabs: home -->
    		<xen:if is="{$extraTabs.home}">
    		<xen:foreach loop="$extraTabs.home" key="$extraTabId" value="$extraTab">
    			<xen:if is="{$extraTab.linksTemplate}">
    				<li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected'} Popup PopupControl PopupClosed">
    			
    				<a href="{$extraTab.href}" class="navLink NoPopupGadget" rel="Menu">{$extraTab.title}<xen:if is="{$extraTab.counter}"><strong class="itemCount"><span class="Total">{$extraTab.counter}</span><span class="arrow"></span></strong></xen:if></a>
    				
    				<div class="{xen:if {$extraTab.selected}, 'selectedMenu'} Menu JsOnly tabMenu {$extraTabId}TabLinks">
    					<div class="primaryContent menuHeader">
    						<h3>{$extraTab.title}</h3>
    						<div class="muted">{xen:phrase quick_links}</div>
    					</div>
    					{xen:raw $extraTab.linksTemplate}
    				</div>
    			</li>
    			<xen:else />
    				<li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'PopupClosed'}">
    					<a href="{$extraTab.href}" class="navLink">{$extraTab.title}<xen:if is="{$extraTab.counter}"><strong class="itemCount"><span class="Total">{$extraTab.counter}</span><span class="arrow"></span></strong></xen:if></a>
    					<xen:if is="{$extraTab.selected}"><div class="tabLinks"></div></xen:if>
    				</li>
    			</xen:if>
    		</xen:foreach>
    		</xen:if>
    
     
    Alien, Chris D, Adam Howard and 2 others like this.
  2. Mike

    Mike XenForo Developer Staff Member

    I've added this now, thanks.
     

Share This Page