PDA

View Full Version : Missing Template File?


WaltSentMe007
06-13-2010, 04:01 PM
I'm a .NET developer doing a favor for a friend in PHP. I have minimal knowledge of PHP. When I open the index.php file to edit it in Dreamweaver, it has:

<!-- InstanceBegin template="/Templates/rentals-index.dwt.php" codeOutsideHTMLIsLocked="false" -->

The problem is that I was not given a Templates folder and I cannot get these files. In Dreamweaver, I need to edit the template, it won't let me edit the text that is grayed out. What should I do?

Thank you very much.

Corrosive
06-13-2010, 04:35 PM
You either need to ask for the .dwt (dreamweaver template) file or recreate it.

DWcourse
06-13-2010, 05:01 PM
This might help your recover the template… (http://dwcourse.com/dreamweaver/recovering-template.php).

Otherwise you can just select menu: Modify>Templates>Detach from Template to break the link to the template and make everything editable.

WaltSentMe007
06-14-2010, 08:51 PM
This might help your recover the template… (http://dwcourse.com/dreamweaver/recovering-template.php).

Thanks this is exactly what I needed!