Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [webmaster33] [Suggestion] Template path change for file includes: Edit Log

Here is the list of edits for this post
Re: [webmaster33] [Suggestion] Template path change for file includes
<%include /cgi-bin/common-templates/header.txt%> # uses absolute path to include header from central template directory.

But that isn't an absolute path...its relative. Absolute means...


You can already do what you are suggesting....ie using common headers/footers.....use:

<%include ../../includes/header.txt%>

...you can use that for your different scripts and it will pickup the same includes directory assuming you have a common structure like:


Last edited by:

Paul: May 8, 2002, 3:35 AM

Edit Log: