![]() |
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 |
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. |
edited: neva mind found the solution
|
All times are GMT. The time now is 01:30 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:
|