Glockie
Well-known member
Hi all,
I have added an off-canvas menu (it's really good) and I am trying to get the count to show on one of the menus, for the XFMG?
I tried using tips this post;
https://xenforo.com/community/threa...allery-for-xenforo-paid-deleted.49067/page-43
But I couldn't crack it.
Does anyone know how to display the new media/comment count alerts on a link tab?
here's some bits I tried.
I know the extra tabs class and extra tab counter are what does it, but I have the link and tried all sorts to get the counters to show with no joy..
I even tried just using the link not the xen link. Tough one.
Hope someone knows how to do this, would appreciate the assistance.
Many thanks!
I have added an off-canvas menu (it's really good) and I am trying to get the count to show on one of the menus, for the XFMG?
I tried using tips this post;
https://xenforo.com/community/threa...allery-for-xenforo-paid-deleted.49067/page-43
But I couldn't crack it.
Does anyone know how to display the new media/comment count alerts on a link tab?
here's some bits I tried.
I know the extra tabs class and extra tab counter are what does it, but I have the link and tried all sorts to get the counters to show with no joy..
Code:
<xen:if is="{$visitor.user_id}">
<li><a href="{xen:link media}" class="navLink"><i class="fa fa-picture-o"></i>{xen:phrase xengallery_media}</a></li>
</xen:if>
Code:
<!-- extra tabs: home -->
<xen:if is="{$extraTabs.home}">
<xen:foreach loop="$extraTabs.home" key="$extraTabId" value="$extraTab">
<xen:if is="{$extraTab.linksTemplate}">
<xen:if is="@xb_nav_disablesub">
<li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected'} Popup PopupControl PopupClosed">
<xen:else />
<li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'Popup PopupControl PopupClosed'}">
</xen:if>
<a href="{" class="navLink<xen:if is="@xb_nav_disablearrow"> NoPopupGadget" rel="Menu</xen:if>">{$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="!@xb_nav_disablearrow"><a href="{$extraTab.href}" class="SplitCtrl" rel="Menu"></a></xen:if>
<div class="xbTabPopupArrow">
<span class="arrow"><span></span></span>
</div>
</xen:if>
</xen:foreach>
</xen:if>
<li><a href="$extraTab.href}" class="navLink"><i class="fa fa-picture-o"></i>{xen:phrase xengallery_media}</a></li>
<xen:if is="{$visitor.user_id}">
<li><a href="{xen:link media}" class="navLink"><i class="fa fa-picture-o"></i>{xen:phrase xengallery_media}</a></li>
</xen:if>
Hope someone knows how to do this, would appreciate the assistance.
Many thanks!