Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

How do I wrap my forum with a global header?

Quote Reply
How do I wrap my forum with a global header?
How can I wrap my forum with my site's existing global header and footer?

Last edited by:

notsleepy: Nov 4, 2005, 8:55 AM
Quote Reply
Re: [notsleepy] How do I wrap my forum with a global header? In reply to
Ok, I now understand a bit about the templates. So is there anyway to do a server side include within the gossamer templates?

In other words, could I create my own template by copying the defaut directory and replace this:

<html>
<head>

with something like this:

<!--#include file="myheader.htm"-->

in every template file?

(I tried this but it didn't work. I'm not very familiar with perl)
Quote Reply
Re: [notsleepy] How do I wrap my forum with a global header? In reply to
You can't use SSI includes but you can achieve a similar result using a template include tag...

Code:
<%include myfile.html%>
Quote Reply
Re: [Hargreaves] How do I wrap my forum with a global header? In reply to
Perfect! Thank you.

One more question. I created my own template called 'mytemplate' by copying the default folder to a new folder called 'mytemplate'.

I can see the template and edit it in the admin 'user templates' section but I don't know how to apply it to my site. I went to Setup > Defaults and set default_template_set to 'mytemplate' but it didn't change anything on the site.