Log in

View Full Version : How can I include an .html file in the footer ?


methodstorm
11-08-2009, 12:46 PM
How can I include an .html file in the footer?

Thanks in advance!

fta2k
11-08-2009, 12:51 PM
For download or to show/say something?

methodstorm
11-08-2009, 12:53 PM
For download or to show/say something?

just an .html produced by another prg to show data... just text. I want it to display at the bottom of the forums.

methodstorm
11-13-2009, 10:54 AM
anyone have any ideas? can it not be done? thanks

kh99
11-13-2009, 12:31 PM
You could create a plugin using the "global_setup_complete" hook and modify the $footer variable at that point (you'd need php code to read in the file, which I guess could get complicated if it includes styles or javascript) Of course you could just copy the HTML you want to the footer template, but I guess if that would work for you you'd have done it already.

methodstorm
11-17-2009, 12:28 AM
You could create a plugin using the "global_setup_complete" hook and modify the $footer variable at that point (you'd need php code to read in the file, which I guess could get complicated if it includes styles or javascript) Of course you could just copy the HTML you want to the footer template, but I guess if that would work for you you'd have done it already.

the data in the .html file is updated every 5 minutes so that wont work. :(

kh99
11-17-2009, 12:39 AM
OK, how about this: http://www.vbulletin.com/docs/html/templates_externalfiles

(Someone just asked about including php output in another thread, but the manual has instructions for HTML as well).

Brandon Sheley
11-17-2009, 01:21 AM
is this what you're talking about

SHTML or ASP: <!--#include virtual="/path_relative_to_site" -->
PHP: <?php include("../path_relative_to_document") ?>