The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Writing a variable from a php page into a template.
If written code in an external file witch loads at init startup. I use the code for plugins. It loads an external html or php file and then splits the head and body from that file. The body is used in a plugin to any kind of template that and the head is added to the headinclude template {vb:raw head_include}. By doing so I can load every external file (php or html) into a template and create widgets to place them on the screen. Because the head of the external (html/php)file is written to the head include i can also load the css and javascript from the external file.
So this works fine with plugins -> template -> widget PHP Code:
PHP Code:
Is there any way to write a variable from a (cms-)php page to a template using vb:raw? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|