Hi, I need help importing files from outside of dreamweaver into to dreamweaver so that they are changed when I change their template files. Basically, I need thousans of pages created from a tamplate which I can do in a faster way than creating a few page, applying the template, saving the page as, etc. However I am not sure how to import them so that dreamweaver will know that they belong to my site. Any ideas? Thanks
You need to first create a Site in dream weaver. When you open dream weaver then you see splash page. see the second column bottom section, there is section called Create Dream weaver sites. follow steps, they easy. then you should start creating template and attach template to files.
I have the site set up and templates created, I have used dreamweaver many times. What I mean is, rather than creating the new pages and applying the template to them from inside dreamweaver, I have a little application that does this for me much faster (better when working with lots of files). However dreamweaver doesn't know that they are associated with the template, because the pages weren't created in dreamweaver, so it doesn't know to change them when I modify the original template. Anyone know how to make dreamweaver recognize them? Thanks
Anyway you must apply pages to tamplate so that DW recognise them. Go to: "Modify/Templates/Apply Template to Page". So that way you will get the template code to your pages like <!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
If the file format is dwt, then dreamweaver must recognize it, if its not then it needed to be saved in dwt.
Basically this is what I am doing. I have a dwt file which I use for the template. I have thousands of pages which would take for forever to create and add the template to. I have an application which mass creates the pages using the dwt template and fills the template regions with content. Everything works perfectly. However. Dreamweaver has no idea that the pages are associated with the dwt file so when I change the dwt file, the pages that were auto created don't change as they should. I assume I need to 'tell dreamweaver that these pages exist' somehow and I am unable to find out how to do this. Does that make sense? Thanks
Sounds unusually and when it happens It could be a spelling mistake, path error or something which is not easily seen by normal eyes. try this 1. Check the header of any page which is using that template , is it looking like this <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/templates.dwt" codeOutsideHTMLIsLocked="false" --> See if the path you have referred is correct or not, its case sensitive. 2. Open the page which is using template in dreamweaver, Go to Modify->template->Open Attached Template. If above step opens the template you are using, that means dream weaver has already recognized the template and if its not, the DWT file format is not compatible to dreamweaver.