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...

/home/sites/htdocs/cgi-bin/templates/header.txt

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:

/cgi-bin/links/admin/templates
/cgi-bin/forum/admin/templates

Last edited by:

Paul: May 8, 2002, 3:35 AM

Edit Log: