Click to See Complete Forum and Search --> : .dwt template files and SSIs .htaccess-based issue


Ultimater
11-25-2005, 04:58 PM
A bunch of my webpages use a template:

<!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->


And within the DWT file, I've got a SSI:

<!--#include virtual="/businessinfo.php?getentrys=all" -->


Of coarse SSI's won't work within a .dwt file.

In my "Templates" directory, I've got an HTACCESS file that reads as follows:

AddType text/html .shtml .html .htm .dwt
AddHandler server-parsed .shtml .html .htm .dwt


Since SSIs are not working, is there a template include of some sort that I can use similar to:

<!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
In place of

<!--#include virtual="/businessinfo.php?getentrys=all" -->


My DWT knowledge is very low, so I'm sure there is another alternative using some sort of template InstanceBegin tag or something.

Thanks in advance.