Gossamer Forum
Home : Products : Links 2.0 : Discussions :

inserting header and footer into template

Quote Reply
inserting header and footer into template
I have followed all the instructions on adding header footer info as per the FAQ. However the final instructions say

Then in your template files, add this code to the appropriate places on your template pages:

But there is no code that follows. What code should I add to my template files?

------------------
ccunet
Quote Reply
Re: inserting header and footer into template In reply to
You put the following codes:

Code:
<%site_header%>

for the header part

and

Code:
<%site_footer%>

for the footer part

Regards.

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: inserting header and footer into template In reply to
Thanks for the response. When I put that in the template then build the page a get a unknown tag error.. Is there a specific place to put the code and tags that should surround it.

------------------
ccunet
Quote Reply
Re: inserting header and footer into template In reply to
Make sure that you have add the following tags in your global variables:

Code:
site_header => &site_header,
site_footer => &site_footer,

Also make sure that you have set the correct absolute paths to where your header and footer text files are located.

You need to change:

Code:
/path/to/

to your ABSOLUTE path on your server.

The FAQ is pretty clear about what to do with the exception of the <%site_header%> and <%site_footer%> being cut out.

How do I know this??? I WROTE THE FAQ!

Regards.



------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: inserting header and footer into template In reply to
Thanks for the suggsetions. Problem was in the location of the header and footer files moved them to the admin dir and it works fine.

------------------
ccunet