729 posts All things are possible, for one who believes.
  • Elite Author
  • Canada
  • Sold between 250 000 and 1 000 000 dollars
  • Won a Competition
  • Referred between 1000 and 1999 users
  • Bought between 100 and 499 items
  • Author had a File in an Envato Bundle
+3 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
  • Envato Studio (Microlancer) Beta Tester
  • Has been a member for 5-6 years
  • Won a Competition
  • Bought between 50 and 99 items
  • Exclusive Author
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • United States
kevinsturf says

try including it like this:

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

Let me know if it works.

729 posts All things are possible, for one who believes.
  • Elite Author
  • Canada
  • Sold between 250 000 and 1 000 000 dollars
  • Won a Competition
  • Referred between 1000 and 1999 users
  • Bought between 100 and 499 items
  • Author had a File in an Envato Bundle
+3 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