NOLAWebPro
Member
So I'm trying to add my sidebar to threads with the exact same widgets and information. I got it to show up but it is showing 0 stats in the Members Online Now, no posts in New Posts, 0 stats in Forums Statistics and the Share This Page buttons styles aren't matching. Not sure what I'm doing wrong here. Here is the code I've added to the thread_view template.
Code:
<xen:sidebar>
<xen:edithint template="sidebar.css" />
<xen:include template="sidebar_online_users" />
<div class="section threadList">
<div class="secondaryContent">
<h3><a href="{xen:link find-new/posts}">{xen:phrase new_posts}</a></h3>
<xen:include template="sidebar_new_posts" />
</div>
</div>
<xen:if is="{$profilePosts}">
<div class="section profilePostList">
<div class="secondaryContent">
<h3><a href="{xen:link find-new/profile-posts}">{xen:phrase new_profile_posts}</a></h3>
<xen:include template="sidebar_profile_post_list" />
</div>
</div>
</xen:if>
<!-- block: forum_stats -->
<div class="section">
<div class="secondaryContent statsList" id="boardStats">
<h3>{xen:phrase forum_statistics}</h3>
<div class="pairsJustified">
<dl class="discussionCount"><dt>{xen:phrase discussions}:</dt>
<dd>{xen:number $boardTotals.discussions}</dd></dl>
<dl class="messageCount"><dt>{xen:phrase messages}:</dt>
<dd>{xen:number $boardTotals.messages}</dd></dl>
<dl class="memberCount"><dt>{xen:phrase members_count}:</dt>
<dd>{xen:number $boardTotals.users}</dd></dl>
<dl><dt>{xen:phrase latest_member}:</dt>
<dd><xen:username user="$boardTotals.latestUser" /></dd></dl>
<!-- slot: forum_stats_extra -->
</div>
</div>
</div>
<!-- end block: forum_stats -->
<xen:include template="sidebar_share_page">
<xen:set var="$url">{xen:link canonical:forums}</xen:set>
</xen:include>
</xen:sidebar>