- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 100 and 499 items
- Canada
- Exclusive Author
- Has been a member for 4-5 years
- Item was Featured
- Referred between 500 and 999 users
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
try including it like this:
<!--#include virtual="filename.html" -->
Let me know if it works.
- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 100 and 499 items
- Canada
- Exclusive Author
- Has been a member for 4-5 years
- Item was Featured
- Referred between 500 and 999 users
kevinsturf said
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!!)
