Gossamer Forum
Home : Products : Links 2.0 : Discussions :

header&footer

Quote Reply
header&footer
How can i use footer and header options in "add categories" menu?simba
Quote Reply
Re: header&footer In reply to
Just put a name of the file, like header.txt and footer.txt. Then you need to format these files and upload them to your determined header/footer directory in the links.cfg file.

An easier approach is to use the multiple template mod for Categories, which codes are available in a Thread in the LINKS Modification Forum.

Hope this helps.

Regards,

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


Quote Reply
Re: header&footer In reply to
 
I tried this in LINKS 2.0 and it wouldnt work. so instead im doing a:
%include% filename.txt>
to load my header & footer..


Unfortunately, the script is looking for my HEADER & FOOTERS in the "templates" directory, and i donot know how, (or if there is even a way) to make the script look to a given directory of my choice for the files..

Anyone shed some light on this for me?


Quote Reply
Re: header&footer In reply to
Have a look at this thread and see if that's what you're looking for.

http://www.gossamer-threads.com/...um3/HTML/003414.html

Dan O.
Quote Reply
Re: header&footer In reply to
Any idea what file they are talking about in that thread?
Quote Reply
Re: header&footer In reply to
Template.pm

If all you want is to have common header and footer files inserted into ALL your LINKS generated pages, then check out the FAQ section of LINKS 2.0 in the Resource Center.

Regards,

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


Quote Reply
Re: header&footer In reply to
I'v tried adding file.txt in the header/footer area and placed my file in admin/header directory and it never worked.

In links.cfg you can define where your files are

$db_header_path = $db_script_path . "/header"; # Place to store header and footers.
$db_footer_path = $db_script_path . "/footer";



Shane

Quote Reply
Re: header&footer In reply to
You can also look in the FAQ section of LINKS2.0 in the Resource Center to find out about inserting headers and footers.

Regards,

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