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

Fixed {$extraTabId} missing from nav tab

Discussion in 'Resolved Bug Reports' started by Jake Bunce, Jan 8, 2012.

  1. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    From navigation, I want to see the red code added:

    		<!-- 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">{$extraTab.title}</a>
    				<a href="{$extraTab.href}" class="SplitCtrl" rel="Menu"></a>
    				<div class="{xen:if {$extraTab.selected}, 'tabLinks', 'Menu JsOnly tabMenu'}">
    					<div class="primaryContent menuHeader">
    						<div class="muted">{xen:phrase quick_links}</div>
    					{xen:raw $extraTab.linksTemplate}
    			<xen:else />
    				<li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'PopupClosed'}">
    					<a href="{$extraTab.href}" class="navLink">{$extraTab.title}</a>
    					<xen:if is="{$extraTab.selected}"><div class="tabLinks"></div></xen:if>
    The same goes for the other extraTabs blocks.
    Mike and James like this.
  2. Mike

    Mike XenForo Developer Staff Member

    Fixed, cheers.

Share This Page