Log in

View Full Version : How do I add $threadcount in header template?


LongDogger
06-27-2008, 09:43 PM
I need to add some of the variables that are present in the "What's Going On Box" in the "FORUMHOME" template into the "header" template so they can be displayed site-wide and not just in the forum home. However, when I try displaying the $totalthreads, $totalposts, etc. variables used in the "What's going on box" in the header, they don't display at all. How can I go about doing this?

Opserty
06-27-2008, 09:55 PM
You'll probably need to fetch data from the datastore and then but it in the header template.

LongDogger
06-27-2008, 10:32 PM
how would i go about that?