XF 1.5 Add new posts sidebar in a custom page


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
    <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" />

Is there any simple way I can make this work?