Gossamer Forum
Home : Products : DBMan : Customization :

Include external footer and header

Quote Reply
Include external footer and header
Hi there,

I want to include a own header and footer in the search result. I can hardcode this in the html.pl file but instead of hardcoding i want to include a header.html and footer.html file in the html.pl This way it's more easy to maintain the header and footer if they must change.

I now have put the header top in the sub html_page_top and the footer in the sub html_page_bottum

Can somebody help me to replace these to sub's with a include for the to external files?

Thankx
Marcel
Quote Reply
Re: [Marcel Emmen] Include external footer and header In reply to
Look in the FAQ noted below under the section for "Files" or "SSI" for a thread called "SSI Include Replacement".

This should provide what you need. There are a few other related threads for additional options.

Unoffical DBMan FAQ
http://redundantcartridge.com/dbman/
Quote Reply
Re: [Marcel Emmen] Include external footer and header In reply to
Big Nose Bird has a fairly good, plain english tutorial on SSI. Check out www.bignosebird.com for more details (in addition to the FAQ).

Last edited by:

Watts: Nov 29, 2002, 7:40 AM