The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
php within templates
Is it possible to place minor php coding inside any templates, mainly the header template? What I am trying to do is have it display the contents into a block within the header but it is not working. Using iframes is out of the question and some may wonder why not just add it to the header template. Well, a friend of mine has no coding knowledge at all but he needs to update the weekly schedule for his guild's raiding. The safest method that I can think of is have him only update one file and then have that file be displayed within the header template (so it is on all pages) through the php include command.
|
#2
|
|||
|
|||
Place the PHP include code in a plugin located at the global_start hook, and then place the cleaned and set variable in the header template.
|
#3
|
|||
|
|||
Thanks. Just as you posted, I searched some more and found: http://www.vbulletin.com/docs/html/t..._externalfiles
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|