![]() |
Where do I include something to all pages
What file can I include an include statement so that it displays on every single page?
|
There are several templates that will do this -- navbar at the top and footer at the bottom come to mind...
|
but can I include an include statement in a template? I didn't think I could
|
What are you trying to accomplish?
|
I need to include (like the php include_once) statement for my site stats program. It needs to be on every page.
|
Ah.
That might be best served by adding a plugin to the hook global_complete or global_start. Take a look at the Microstats hack and see if that does what you are looking for -- where you can tap into it. It uses global_complete. https://vborg.vbsupport.ru/showthread.php?t=82900 |
On most websites you have something like a header.php with the includes infomraiton. The header.php is on every page. I need something like that.
|
See above...
There used to be a phpinclude_start that hooked into the header. It was replaced by the hook at global_start. |
Thanks, I looks at the xml file for that hack..... I didn't even really know what those were. But I know php and changed the xml to do what I need it to do. Thanks christine
|
All times are GMT. The time now is 12:03 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:
|