Code: Select all
<!-- #include virtual="nav.html"-->
Moderator: Edi
Code: Select all
<!-- #include virtual="nav.html"-->
My creationism website uses shtml files almost exclusively, and it always works.Durandal wrote:OK, I'm looking to migrate my site over to SHTML mainly because of the convenience of doing virtual includes. This seems simple enough. I just need to put the navigation code in its own file and replace the existing text withif the index and the nav.html file are in the same directory, right? It's not working. No browser I've tried likes the idea, and I was sure to rename the file to index.shtml. I just get a blank right table column. I've also been unable to find any half-way decent tutorials on SHTML. Anyone have any suggestions?Code: Select all
<!-- #include virtual="nav.html"-->
Code: Select all
<!-- #include virtual="durandal/my/direcotry/nav.html"-->
Code: Select all
<!-- #include file="nav.html"-->
Precisely. Enable your Apache web server. SSI should be enabled by default for files ending in .shtml.Durandal wrote:Ahh ... I've been testing it off my local drive. There's no way to test the pages locally then? Could I enable my Apache web server and do it?