By: Greg Krabach
Date: 2005-10-17
Time: 19:07
|
Server Side includes
I'm working on a site which has a common 'header'....at the top of every page there is a group of images which is basically a site navigation bar. I want to replicate this on every page, but put it in a single file and do an include on every page (for obvious reasons of maintainability).
I've tried PHP's include() in the *.php files, this places the code in the page, but it is prior to any <html> tags. I've also tried SSIs, but that results only in printing <!--#include file="something.html"--> or <!--#include virtual="something.html"--> in the source code, which doesn't do anything.
Any help that can be offered would be greatly appreciated
|
By: Skrol29
Date: 2005-10-18
Time: 10:40
|
Re: Server Side includes
Hello Greg,
At the Example page, the example anmed "sub-template" shows you a way to do this with TinyButStrong.
|