all groups > asp.net building controls > march 2008 >
You're in the

asp.net building controls

group:

HTML CODE


HTML CODE Chris
3/11/2008 2:04:31 PM
asp.net building controls:
Hello,
I am currently modifying a website that someone else has already developed.
In the html code i have a line of code with the #include file"head.txt" this
is a table saved on a txt that serves as the heather of the webpage. it
works ok on these page but when i try to implement it on a new project it
doesnt reconize it. i dont know if i need to change someting in the settings
or where i need to declare it so that it reconizes it because the code is
the same and i also copy and past it the file on the new project. i dont
know if any of you guys can help. Thanks


Re: HTML CODE David R. Longnecker
3/25/2008 8:51:13 PM
Chris-

In your new projects, well, more specifically the server you are publishing
to, be sure that SSI (server side includes) are enabled.

The HTML syntax should look like <!-- #include file="head.txt" -->.

A quick Google of "ssi" landed me here: http://www.georgedillon.com/web/ssi.shtml

That might explain a bit more and the SSI syntax (file vs. virtual, etc).

HTH.

-dl

--
David R. Longnecker
http://blog.tiredstudent.com

[quoted text, click to view]

AddThis Social Bookmark Button