[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 595
  • Last Modified:

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
0
nitinsendb
Asked:
nitinsendb
  • 2
  • 2
1 Solution
 
RouchieCommented:
How are you creating the new document?  Is there some DW comments in the code telling DW that the file is a template?
0
 
Jason C. LevineNo oneCommented:
Hi nitinsendb,

Try going to Edit | Keyboard Shortcuts and remapping the Save option...
0
 
nitinsendbAuthor Commented:
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.
0
 
nitinsendbAuthor Commented:
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!  
0
 
RouchieCommented:
DW sometimes uses comments within pages to help it understand what the page is doing.  This is one of those situations...!
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now