The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how to make script appear on template
Hey, i have a small script that works perfectly standalone.
It basically reads news from my main site database and displays it. It works on the standalone php page fine. Its a table with 5 rows showing titles of the latest articles and links them. What i want to do is make this appear just under my navbar. Im not sure how to put it there. I tried pasteing all the php code in the navbar template but didnt work. Please help if ya know, i needa get this done. Regards |
#2
|
||||
|
||||
You cannot put php code in templates.
You would have to create a plugin for the code and build the output into a variable, and add the variable to the navbar template. |
#3
|
|||
|
|||
edited: neva mind found the solution
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|