how to list recent and active threads in a template

jaymsgq

Member
Hi,
I'm working to readjust my sidebar, I want to list active threads and new threads. I created a addon to display a box below the existing sidebar and it works fine. In the same template or a new one I want to list the active and new threads. Is there is thread variable where I can loop through to show the title,date ,avatar/userid? Something like below ?
HTML:
 <xen:foreach loop="$threads" value="$thread">
 <p>{$thread.title}</p>
</xen:foreach>
Any advise? How to loop through threads in xenforo templates?
 
Top Bottom