Gossamer Forum
Home : Products : Links 2.0 : Customization :

category header works, but footer don't

Quote Reply
category header works, but footer don't
I'm trying to put different headers & footers in each category using the category fields already provided with links. I made two folders, /links/admin/header and /links/admin/footer and then put several .txt files in each. I added a category and put only the name of the text file in the given fields, i.e. head1.txt, and then used build all.

The header show with no problems, but I don't get anything in the footer area but whitespace.

Any help is greatly appreciated...

Perl Hopefull
Quote Reply
Re: [stilton] category header works, but footer don't In reply to
Make sure you have the following line in links.cfg:

$db_footer_path = $db_script_path . "/footer";

Did you add the footer tag to your category template?
Quote Reply
Re: [thomas1] category header works, but footer don't In reply to
Thanks Thomas, but I do have that defined in links.cfg, both lines for header & footer. I also have <%footer%> in my category template. The <%header%> works fine...I can change the .txt file through the admin, and it works correctly each time. I had originally entered footer => &footer in the globals, but that causes an error while building, but works ok without. I don't have either one in the globals, but I do have them defined in the sub_build_category.
Perl Hopefull