nitinsendb
asked on
How to save Dreamweaver HTML or PHP file using CTRL+S without an automatic 'Save as Template' form.
Hi,
Every time I try to save my HTML or PHP files in Dreamweaver, I automatically get a 'SAVE AS TEMPLATE' form. I don't want to save my file as a template so I am forced to CTRL+SHIFT+S (Save as). Why is it doing this and is there anything I can do about it.
Kind regards,
Nitin
Every time I try to save my HTML or PHP files in Dreamweaver, I automatically get a 'SAVE AS TEMPLATE' form. I don't want to save my file as a template so I am forced to CTRL+SHIFT+S (Save as). Why is it doing this and is there anything I can do about it.
Kind regards,
Nitin
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes, there were some comments such:-
<!-- TemplateBeginEditable name="doctitle" -->
Since they were only comments I didn't think they would affect how Dreamweaver views them....especially if the actual files have the .php extension. But once I delete comments (there are about 3 of them), ctrl+s works fine. I must have saved a previous template as PHP and these comments are leftovers from when the file used to be a template. Anyway.......all is well........thanks a lot.
<!-- TemplateBeginEditable name="doctitle" -->
Since they were only comments I didn't think they would affect how Dreamweaver views them....especially if the actual files have the .php extension. But once I delete comments (there are about 3 of them), ctrl+s works fine. I must have saved a previous template as PHP and these comments are leftovers from when the file used to be a template. Anyway.......all is well........thanks a lot.
ASKER
I think I must have saved a previous template file as PHP and these comments are leftovers from this. I deleted the comments and all works fine now. Thanks a lot!
DW sometimes uses comments within pages to help it understand what the page is doing. This is one of those situations...!
Try going to Edit | Keyboard Shortcuts and remapping the Save option...