Gossamer Forum
Home : Products : Links 2.0 : Customization :

header question

Quote Reply
header question
I want the same header to appear on every page of my links site. I "installed" the enhanced template mod, but I have no clue how to use it :(
Quote Reply
Re: [Lissaexplains] header question In reply to
Please read the following thread (posted yesterday):

http://www.gossamer-threads.com/...i?post=249758#249758
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Stealth] header question In reply to
I tried that already, apparently I did something wrong.
Quote Reply
Re: [Lissaexplains] header question In reply to
By "wrong", what do you mean?

1) What codes are you trying to use in the template files?

2) What error messages appear?

Please be more specific, we need details in order to assist you.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Stealth] header question In reply to
In the category.html and home.html files I added this include:



<!--#include virtual="/links/footer.txt"-->



There is no error, nothing shows up where the footer should be. My links index page is .shtml, do I need to rename any other files to .shtml?
Quote Reply
Re: [Lissaexplains] header question In reply to
Yes, you need to configure all your "index" pages in the category, what's new, etc. to be .shtml.

Make sure you have the build extension set to .shtml in the links.cfg file.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Stealth] header question In reply to
YAY it works! Thank you SO much, I really appreciate it Sly
Quote Reply
Re: [Lissaexplains] header question In reply to
Uh oh, I spoke too soon. The include IS working on the "home" (index) page, but not on any others Unimpressed All of the category index pages have been changed to .shtml.

Last edited by:

Lissaexplains: Aug 15, 2003, 4:39 PM
Quote Reply
Re: [Lissaexplains] header question In reply to
You need to remove the index.html files in your category folders. Or change your DirectoryIndex codes in your .htaccess file to have .shtml before .html.

I would recommend deleting all your category files, and then re-build your directory.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Stealth] header question In reply to
You're right, the index file is STILL in there Angelic thanks!
Quote Reply
Re: [Lissaexplains] header question In reply to
Somehow I'm not linking to the file properly for the category pages, it says [an error occurred while processing this directive], any ideas why? I'm using the same include as I used for the index page.

Sorry for all the questions, I'm just a kid Wink
Quote Reply
Re: [Lissaexplains] header question In reply to
Triple check the codes you are using in the category.html file:

<!--#include virtual="/links/footer.txt"-->

Make sure that you have the footer.txt file in the /links/ folder and that you are using the exact above codes, not something like the following:

<!--#include virtual="links/footer.txt"-->

That error usually means that the file you are attempting to include is not found...
========================================
Buh Bye!

Cheers,
Me
Post deleted by Lissaexplains In reply to
Quote Reply
Re: [Stealth] header question In reply to
I put the include in between <p></p> tags and it decided to work. I hope it keeps working *keeps fingers crossed* Blush
Quote Reply
Re: [Lissaexplains] header question In reply to
That is odd...if you would post your category.html file and footer.txt file, we might be able to help you determine why you have to put <p> anchors to make the SSI directive work.
========================================
Buh Bye!

Cheers,
Me