you say you are manually editing the code, what code are you changing and what are you changing it to?
most likely, manually editing the code is causing it not to be recognized by the Dreamweaver translator.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.