736 posts All things are possible, for one who believes.
  • Won a competition
  • Sells items exclusively on Envato Market
  • Located in Canada
  • Has sold $500,000+ on Envato Market
+8 more
TimMcMorris says

Hey everyone,

I have a question about dreamweaver CS4 using server side includes that maybe you can help me with.

I’m working on a website using .shtml extensions so I can use SSI ’s in my pages, as there is a lot of content to change in certain areas that I don’t want to have to change on every page.

When I add the include link to a page however, save it and reopen it, the page is not editable until I comment out the code or remove it. ( or tick the “re-write” code box in preferences, but from what I see the code isn’t invalidly nested or has any unclosed tags)

So, when I add <!-#include file=”filename.html” -> for example, it will do this in dreamweaver.

Is there a way so that dreamweaver will allow me to edit the page like normal? Hope this make sense and someone knows what I am talking about :)

Thanks,

- Tim

478 posts
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
kevinsturf says

try including it like this:

<!--#include virtual="filename.html" -->

Let me know if it works.

736 posts All things are possible, for one who believes.
  • Won a competition
  • Sells items exclusively on Envato Market
  • Located in Canada
  • Has sold $500,000+ on Envato Market
+8 more
TimMcMorris says

try including it like this:
<!--#include virtual="filename.html" -->
Let me know if it works.

Hey Kevin, thanks so much for your reply!!!

Unfortunately however, the problem remains whether I am pointing to a file in the same directory or not.

I appreciate it though :)

Hope someone has the answer (at least I hope so with all these programmers and designers around!!)

by
by
by
by
by
by