abdfahim
Well-known member
I am trying to add the New Posts block in a custom page sidebar. The below code does not work, most probably because the page does not have access to the variable $threads
Is there any simple way I can make this work?
Code:
<xen:sidebar>
<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:sidebar>
Is there any simple way I can make this work?