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

XF 1.1 Stop AlertsMenu_Counter to dissapear

Discussion in 'XenForo Questions and Support' started by CyberAP, Oct 13, 2011.

  1. CyberAP

    CyberAP Well-Known Member

    It seems like in 1.1 something changed with the behaviour of #AlertsMenu_Counter. In 1.0.x I could just remove data-removeCounter="#AlertsMenu_Counter" property and AlertsMenu_Counter didn't dissapear. But in 1.1 it dissapers even if I hover on inbox link. How can it be solved?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Yeah that change behaves different for me too.

    I was able to achieve the same behavior in 1.1 by removing both references to AlertsMenu_Counter:

    Code:
    	<!-- alerts popup -->
    	<li class="navTab alerts Popup PopupControl PopupClosed">	
    					
    		<a href="{xen:link account/alerts}" rel="Menu" class="navLink NoPopupGadget">{xen:phrase alerts}
    			<strong class="itemCount {xen:if {$visitor.alerts_unread}, '', 'Zero'}"
    				id="AlertsMenu_Counter" data-text="{xen:phrase you_have_x_new_alerts}">
    				<span class="Total">{xen:number $visitor.alerts_unread}</span>
    				<span class="arrow"></span>
    			</strong>
    		</a>
    		
    		<div class="Menu JsOnly navPopup" id="AlertsMenu"
    			data-contentSrc="{xen:link 'account/alerts-popup'}"
    			data-contentDest="#AlertsMenu .listPlaceholder"
    			data-removeCounter="#AlertsMenu_Counter">
    			
    			<div class="menuHeader primaryContent">
    				<h3>
    
     
    CyberAP likes this.
  3. CyberAP

    CyberAP Well-Known Member

    Thanks, will try that.
     

Share This Page