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

Fixed itemCount in own navtabs

Discussion in 'Resolved Bug Reports' started by Dan, Apr 10, 2013.

  1. Dan

    Dan Well-Known Member

    The itemCount won't be shown, if the tab doesn't use a linksTemplate
    <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}<xen:if is="{$extraTab.counter}"><strong class="itemCount"><span class="Total">{$extraTab.counter}</span><span class="arrow"></span></strong></xen:if></a>
    <a href="{$extraTab.href}" class="SplitCtrl" rel="Menu"></a>
    <div class="{xen:if {$extraTab.selected}, 'tabLinks', 'Menu JsOnly tabMenu'} {$extraTabId}TabLinks">
    <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>
    This should be copied to the else part
    <xen:if is="{$extraTab.counter}"><strong class="itemCount"><span class="Total">{$extraTab.counter}</span><span class="arrow"></span></strong></xen:if>
    CyberAP and Shelley like this.
  2. Mike

    Mike XenForo Developer Staff Member

    Fixed for 1.1.5.
    Alluidh and Shelley like this.

Share This Page