• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

DeltaHF

Well-known member
#1
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:

Arty

Well-known member
#2
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>