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