INCLUDE FILE won't show up in .html template?
tonyr | Posted 12:28am 29. March 2009 Server Time |
I have, what I'm sure, is a very simple problem to most of you. I know a bit about .asp, .html, etc. But I am no expert for sure.
I have an .asp site, and I saw the banner ad rotator that you guys were kind enough to put up on your site, that would work perfectly on my site.
I set it all up, but the INCLUDE FILE will not show up in Firefox or IE.
I think the problem is that when you load the site, an .asp file is loaded by default that then pulls in a .html file (a template), it is there in a specific area in the .html template that I want the INCLUDE FILE to display, within a table cell. And it just won't show up.
I tried various things like entering the full path, using INCLUDE VIRTUAL instead, putting a / before the file name, etc. and nothing shows. What am I doing wrong?
If anyone knows a solution to this problem, I would greatly appreciate it! |
stimpy | Posted 5:10pm 31. March 2009 Server Time |
Wait, so you're trying to do an include into a .html page? First off, I think it would have to be a .asp page for the include to work as the include has to be processed by the server, UNLESS you're using a .shtm file and then only if you have it set on the server to allow the .shtm to process the include which would be highly irregular.
But if you go File\New File From template which creates the new file and then go File\Save As myFile.asp and force it to have the .asp extension and not the .html extension the include file should work okay.
Reply to Post INCLUDE FILE won't show up in .html template?
|
|
|