Hi there, after trying out the solution you mentioned, it doesnt work to how I need it to...let me explain...
I did a simple test...
1. in the template file I created a recordset, lets call it recordset1...I then saved and this added the code to my other pages (which was expected)
2. I did the textpad method of detaching one of my pages, then loaded it back into dreamweaver and recreated a second recordset, lets call it recordset2.
3. I then went back into textpad, and put back the "InstanceBegin template....." code, then saved and loaded back into dreamweaver....
4. so all playing nicely...until....
5. I went back into my template file...and lets say I didnt need recordset1 anymore, so I deleted it, then saved and then my other pages were updated to reflect this...
6. HOWEVER when I went back to the page that I had previously detached+added the recordset2 to, this recordset2 has now vanished...because all that code above HTML has been replaced with the code from the template file.
Im trying to work out the workflow for this, because im my project I need a template file with webassist generated code AND I am going to need some of those pages (created from the master template file) to have additional code added...But I need to have the template file flexable so I have the choice to add/edit it at a later date (in case I need extra funtionality etc). But of course I just cannot do this.
Are there any other solutions? I have purchased Webassist Framework. Would I need to create a template (without any php related coded) then create seperate php plugins (such as a plugin to dispaly a login box, a plugin to show a dynamic list) etc and then add those plugins to the template? But If I do this...I am worried the effect of this approach will have, because wouldnt there be many instances of "<?php require_once('../Connections/database.php'); ?>" ?which surely would be bad programming practice? Also If I use Webassist Framework, I have noticed that in some part it takes awat from me the WYSIWYG approach to web design? the CSS links are in the master template file and the file im working on doesnt recongise any of that UNTIL I go to view in the main browser?
Chris