![]() |
How to add Simple PHP code into header of each page?
I want to add a simple php code to a header of each page of my forum.
Problem is that if I edit the template and add something even so simple as: PHP Code:
Can someone tell me how to go about this? |
Why not make a phrase and use that?
|
You cannot put php in templates. You would need to use a hook (maybe a global one) to output a variable and then put the variable in the header template.
But, I like Bob's suggestion and that is what I have done on my forums in the past. |
All times are GMT. The time now is 04:46 AM. |
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:
|