![]() |
Include PHP file in template
I want to create pages in vb that will include a template and call a php file.
The template will have static text and the php fill will pull data from a database. If I follow the tutorial for adding pages using vb templates -> https://vborg.vbsupport.ru/showthread.php?t=62164 and then add a plugin with the php file included described here -> http://www.vbulletin.com/forum/showthread.php?t=173937 Would it give me what I want? It seems a little redundant to include 2 files, or is it the way it is supposed to be? |
Take a look at this tutorial: https://vborg.vbsupport.ru/showthread.php?t=98009
It's a little more in-depth and more recent that Gary's article. Any PHP you'd like to add to your script can be added to the custom page you're creating - you don't need to use any plugins (unless you just want to). |
Thanks kirk, I'll check it out!
|
All times are GMT. The time now is 05:07 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:
|