Quote:
Originally posted by Gutspiller
What other "methods" are there?
|
I have mentioned them in my previous message. Here are they again:
1- Add the entire code to phpinclude. As I said before you dont need to be scared because technically it's no different than adding a include("file.php") to your phpinclude template.
2- Convert your code to a function and add it at the end of inside function.php. Then you can call it as
PHP Code:
yourfunction();
inside phpinclude template or global.php.
3- Add you code to global.php. It also runs everytime any vb scripts runs, just like phpinclude template.Therefore you can try to add either the include statement or the entire code to global.php as well..