How can i use footer and header options in "add categories" menu?simba
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
----------------------
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
----------------------
Nov 18, 1999, 10:05 PM
User (109 posts)
Nov 18, 1999, 10:05 PM
Post #3 of 8
Views: 1919
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?
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.
http://www.gossamer-threads.com/...um3/HTML/003414.html
Dan O.
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
----------------------
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
----------------------
Nov 28, 1999, 3:10 PM
User (110 posts)
Nov 28, 1999, 3:10 PM
Post #7 of 8
Views: 1921
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
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
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
----------------------
Regards,
------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------