Gossamer Forum
Home : Products : Links 2.0 : Customization :

Header And Footer

Quote Reply
Header And Footer
How do I alter the look of every page generated?

I want the pages generated to look like the rest of my site.

Can someone here help?

Thanks.

------------------
http://www.goodbookmarks.com/ - Let's Enjoy Surfing The Web
Quote Reply
Re: Header And Footer In reply to
Greetings Jackchen!

If you are using templates, then edit each template. If not then edit the site.html.pl.

------------------
www.nzcid.godzone.net.nz
New Zealand Christian Internet Directory




Quote Reply
Re: Header And Footer In reply to
Or you can put a header.html and a footer.html file in your templates directory and get the third generation templates mod from the resource center and embed in your templates <%header.html%> and <%footer.html%>

------------------
Duc Nguyen
duc@html-coder.com
www.html-coder.com/
Webmaster resources!
-------------------------
-------------------------


Quote Reply
Re: Header And Footer In reply to
Or you can read the FAQ in the Resource Center that covers this issue.

Two suggestions:

1) Thoroughly read through the FAQs and Modifications in the Resource Center before posting questions.

2) Search the Gossamer Threads Forums more carefully for Threads related to your question(s).

Wink

Regards,

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


Quote Reply
Re: Header And Footer In reply to
When I tried to add a category, that is this "Header" field. Can I provide a URL to a file for the header?

I don't quite understand the <%header.html%> thing.

------------------
http://www.goodbookmarks.com/ - Let's Enjoy Surfing The Web
Quote Reply
Re: Header And Footer In reply to
Hi jackchen!

maybe you need to expalin what you are trying to achieve on your site with each category.

Do you want a different banner for each different category or ?????

------------------
www.nzcid.godzone.net.nz
New Zealand Christian Internet Directory




Quote Reply
Re: Header And Footer In reply to
You can put a link to the header file for the category.

What don't you understand about adding a header and footer tag into your category.html file?

If you want consistant headers and footers for all your LINKS generated pages, then the FAQ in the Resource Center will do this for you.

The two codes missing from the FAQ are the following:

<%site_header%>
<%site_footer%>

After adding the other codes in the FAQ, simply add <%site_header%> after your <body> tag in your template files, and then add <%site_footer%> before the closing </body> tag.

The FAQ is pretty straightforward...How do I know this??? I wrote it...and many people have been able to implement it without any difficulties.

Wink

Regards,

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


Quote Reply
Re: Header And Footer In reply to
I can only add the code to the templates.

How can I add it into the pages generated for each category? Use the "Header" field?

------------------
http://www.goodbookmarks.com/ - Let's Enjoy Surfing The Web
Quote Reply
Re: Header And Footer In reply to
Use these codes if you are using the codes from the FAQ:

Code:
<%site_header%>
<%site_footer%>

Regards,

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


Quote Reply
Re: Header And Footer In reply to
Oh, so I type <%site_header%> into the "Header" field?

I tried but it didn't work.

------------------
http://www.goodbookmarks.com/ - Let's Enjoy Surfing The Web
Quote Reply
Re: Header And Footer In reply to
NO...You follow the steps in the FAQ and then you insert the tags I provided in this Thread in the template files (e.g., category.html, add.html, etc.) where you want them to print.

To see an example of what the heck I am talking about, go to:

vlib.anthrotech.com/bin/templates/category.html

Look at the HTML Source Code...See the tags that I am talking about....

Hmm.....

Wink

Regards,

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




[This message has been edited by Eliot (edited January 04, 2000).]
Quote Reply
Re: Header And Footer In reply to
Oh!

I finally get it now.

The "category.html" file will apply to all the pages generated for all categories right?

Argh!
I thought I had to specify a header for all the categories, and the templates were just HTML files.

------------------
http://www.goodbookmarks.com/ - Let's Enjoy Surfing The Web
Quote Reply
Re: Header And Footer In reply to
Good!

Regards,

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