DeltaHF Well-known member Oct 8, 2016 #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: Oct 8, 2016
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.
Arty Well-known member Oct 10, 2016 #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> Upvote 0 Downvote
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>