I believe this is because of the other server side code on the template page that isn't on the page itself. You are going to have to manually move that code to the pages as you apply the template because dreamweaver won't do that for you.
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.