locked/Unlocked code gerneration with Dreamweaver Templates.
Hello there, I have come to a grinding stop on a project.
Im creating an ecommerce website. So I have created a Dreamweaver template with the initial layout of the website. this template also includes webassist functionality (to display dynamic content (such as some menu items from a database and an on-page login box and also going to include ecart shopping basket code inside the template.
now the problem.....if i then go to create a page (using the above template) lets call it "Products" page - so this page will generate a list of products from the database, when I go to create the code, Dreamweaver WONT let me save the document BECAUSE the code is OUTSIDE the HTML area of the initial template and that area is LOCKED.
problem is, its needs to be locked, because if I later decide to make changes to the initial template that involves editing webassist code then those changes wont update all the pages that use the template.
So, is there a solution?
I was thinking that maybe something like Framework Builder, and making sure that all the webassist stuff inside the initial template are all loaded in as plugins rather then hardcoded to the template document. but I am wondering if this is the most optimised method or am I missing something in the login of programming?