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
try including it like this:
<!--#include virtual="filename.html" -->
Let me know if it works.
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!!)
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.