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

XF 1.4 New tab in moderation_bar

Discussion in 'Styling and Customization Questions' started by bwfcwalshy, Apr 10, 2015.

  1. bwfcwalshy

    bwfcwalshy Member

    I am adding a new tab in the moderator bar using the template moderator_bar. I have added the text and the link but I also want the number next to it. The tab links to my staff section and I want the number to be the number of unread messages.

    I currently have:
    <xen:if is="{$visitor.is_moderator}">
    a href="/forums/forums/break-room/">
    span class="itemLabel">Staff [Incomplete]</span>
    I know I need to add a span with itemCount but I am not sure how.

    Any help is appreciated.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    It will require custom development to expose the unread message count to that template.
  3. bwfcwalshy

    bwfcwalshy Member

  4. Demon

    Demon Active Member

Share This Page