The #include directive is a key benefit of using an .asp or .php extension instead of .htm or .html for your HTML-coded
pages. The #include directive lets you fetch blocks of code inside "include" files that commonly use a .inc extension and
are kept in a separate \includes folder.
Here's some w3School discussion of #include:
In my own HTML page (which has an .asp extension) is the following
#include call to fetch my left navigation block:
<!-- #include file="includes\leftnav.inc" -->
And here is the code in the leftnav.inc file being fetched.
OK, here's the issue. On the website where I have AVFP installed, I can use the
#include directive without
trouble. And it's real handy for maintenance because if I have a global change to make in my left navigation
bar, I can make that change in one .inc file.
However I could not get the #include directive to work inside the HTML templates folder of my AVFP virtual folder.
Is it possible to use? Has anyone found a way to take advantage of
#include's power within AVFP?