Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Include Files Outside Templates Directory

Quote Reply
Include Files Outside Templates Directory
Is it possible to include files outside the 'templates' directory?

I do not mean the <%header%> or <%footer%>, I know how to include them, but would like to have a file that can be incorporated into all my pages that links builds PLUS the other pages that I develop myself outside of links.

I would like to use SSI on my own pages, but am aware there is a problem with SSI with cgi generated pages, so rather than keep two sets of files, I want to develop one file and call it as follows:-

1. All Links pages
<%include /path/to/abc.txt%>

2. Other pages (non 'links')

< SSI include directive /path/to/abc.txt> (I can't seem to use the example I wanted to here for obvious reasons!).

Is this possible OR would I need to change the Templates Directory. (I cannot use SSI to call files located under the CGI Bin Directory).

Thanks in advance,

Regards,


Clint

--------------------------
http://www.AffiliatesDirectory.com - Affiliate Programs Directory
Subject Author Views Date
Thread Include Files Outside Templates Directory Clint 2859 Aug 5, 2000, 10:22 PM
Thread Re: Include Files Outside Templates Directory
Stealth 2768 Aug 6, 2000, 8:26 PM
Thread Re: Include Files Outside Templates Directory
Clint 2759 Aug 8, 2000, 3:12 AM
Post Re: Include Files Outside Templates Directory
Stealth 2727 Aug 8, 2000, 5:34 PM