I opened a .html document with dreamweaver, using CSS and every time I try to save it automatically tries to save as a .dwt ... The only wierd thing is that I made this .html with Notepad++ so I can't see how it would include any template stuff???
Thanks in advance
When you save a document with DW, there are two choices at the bottom. Name and file type. You can save it as anything you want (even .jpg if you feel like it. It won't work as a picture, but you can save it that way)
Unless you choose a template when you open a new html file, it shouldn't be trying to save the edited copy as one.
I'm constantly creating CSS, HTML, and JS files and it always asks to save as what I opened when I pressed CTRL+N and chose a doc type.
I'm having the same problem in CS5 -- this is when I try to save an exististing file. Clicking on the Save button or File|Save brings up the Save as Template dialogue box, with no other save option presented. I need to close the file being edited; DW then prompts me to save it (normally).
I haven't found any program options to control this; I've also tried deleting theDW cache file with no luck.
ETA: I can perform a File|Save As, and the open file name defaults to the Save file name. I am asked if I want to overwrite the existing file.
IKNAA -- this occurs when editing an existing file -- not a new one. . .
New Document is set to .html. But this occurs when editing an existing document.
I open index.php (existing) and begin editing. If I click the Save button, or use File|Save from the menu I get the Save as Template Dialogue, not the standard Save dialogue. I shouldn't get ANY dialogue box -- it should just save it. . .
Found it --
I am using WebAssist's Site Sculptor. It creates the index page for a site with template code in it. DW sees the template code and assumes a template is being edited. . .
Remove the references to <Editable Section>s and the issue disappears. . .
Thanks for making me look for it!!
The page with the template code in should be saved in the site's Templates folder as a DW template (i.e., with a *.dwt extension) and used to spawn legitimate child pages. Don't hack into the code as you suggest.
Europe, Middle East and Africa