XF 1.5 Get the # of posts displayed on a thread_view page in the header?

DeltaHF

Well-known member
Is there a template variable which I can use in the PAGE_CONTAINER template that will give me the number of posts displayed on a thread_view page?

I've tried {xen:count $posts}, but that doesn't work if it's not inside the thread_view template.
 
Last edited:
No, variables that are used inside template aren't available in page_container. You need to explicitly export them to container template using <xen:container>
 
Top Bottom