Highlighted

Saving a Dreamweaver template

Explorer ,
Feb 13, 2018

Copy link to clipboard

Copied

When I save a .php page as a template, I always get the extension *.dwt.php. Is this correct or do I delete the .php at the end of page name? I am using Dreamweaver 2018 and on a Windows 10 Computer.

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

No.  If your template contains PHP code, it should be named with the appropriate extension -- dwt for template and php for the code base.

Nancy

Views

149

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Saving a Dreamweaver template

Explorer ,
Feb 13, 2018

Copy link to clipboard

Copied

When I save a .php page as a template, I always get the extension *.dwt.php. Is this correct or do I delete the .php at the end of page name? I am using Dreamweaver 2018 and on a Windows 10 Computer.

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

No.  If your template contains PHP code, it should be named with the appropriate extension -- dwt for template and php for the code base.

Nancy

Views

150

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 13, 2018 0
Adobe Community Professional ,
Feb 13, 2018

Copy link to clipboard

Copied

Yes.  That is the expected file extension for a proprietary Dreamweaver Template with PHP code.   An ordinary HTML template would be just .dwt.

Nancy

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 13, 2018 0
Explorer ,
Feb 13, 2018

Copy link to clipboard

Copied

Thanks for getting back so quick. Should I delete the .php at the end of the name or leave it that way. Or, should I create the template in an html page and then use that template on my php pages? Always one more question

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 13, 2018 0
Adobe Community Professional ,
Feb 13, 2018

Copy link to clipboard

Copied

No.  If your template contains PHP code, it should be named with the appropriate extension -- dwt for template and php for the code base.

Nancy

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 13, 2018 0
Explorer ,
Feb 13, 2018

Copy link to clipboard

Copied

Great. Thanks a lot

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 13, 2018 0