![]() |
can i use $totalthreads... variable in footer template?
can i use $totalthreads variable in footer template?
Firstly, i'm trying to put the right side bar in my site, but i want the right side bar to display in every page on my site, so i did put the right side bar code in footer template. Actaully it could work well, but when i try to put the "statistics" table code which were originally in the forum home template code, all the variables like $totalthreads, $totalposts, $numbermembers, $activemembers, $newusername don't work and don't display anything. How can i make all the varibles work properly in the footer??? Please tell me...it's urgent!!! |
zoma, you would need to make a plugin in the function the template is called and declare the variables you need as global etc.
|
Quote:
|
Somebody answer this question please? I need a reply too.
|
And I.
I have the idea that it needs to go in the global.php, but I am not certain how to declare them or where in the php file. |
All times are GMT. The time now is 02:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|