![]() |
Include PHP file in Footer?
Is there a simple way to include a php file in the footer of the forums?
Thanks |
<?php include("file.php"); ?>
|
Quote:
|
you want a template to load up another template?
|
Quote:
|
hmm the include function should work then..
|
Quote:
|
I've been trying to get help on this as well and no one seems to care. =P You are not able to put php directly into the templates. You are given two options. Create a php file that calls for a template aka the footer. Or you may create a plug-in that you'd put before or after the footer. I can't go too far into detail, but maybe that'll help you a little bit. I'm trying to put php into my header, but I'm not doing so well.
|
Try hook: global_start
PHP Code:
[ I'm not sure if this is the correct hook, but it should work ] |
What exactly would I specify in the template then? How would I call for it?
I'm confused. I made a plugin with what you gave. I changed the source appropriately. Then what do I put in my header template to call for that hook? Do I need to create a new template? Please be detailed in your answer. I'd really appreciate it. |
All times are GMT. The time now is 07:10 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:
|