PDA

View Full Version : Associate .tpl files with Dreamweaver??



x_789
July 27th, 2003, 02:05 AM
Hello all I was wondering how to associate .tpl files with dreamweaver mx.

As of now I have to go> file>open> Select (all Files) then open the file. I also can only look at it in Code View. I have to do a tools spell check so it will change to Code and Design view.

I tryed this hack I saw on the net
1) Open the following xml document in Dreamweaver MX or any XML editor:
Macromedia/Dreamweaver MX/Configuration/DocumentTypes/MMDocumentTypes.xml

2) In the tag "documenttype id="HTML"... "(or php) add .tpl as an extension in winfileextension/macfilextension.

3) Close and restart Dreamweaver (If you had Dreamweaver open)

4) Open any .tpl file in Dreamveawer and you can edit them in the wysiwyg mode...


I do that I still have to select it the same way buy going ALL FILES but now it wont even let me spell check it to get a code desgin window..

Anyhelp is appricated thanks X

grimdeath
July 27th, 2003, 11:14 AM
try right clicking the tpl file and select open with option then browse for dreamweaver and click on the tab where it says always use this program blablabla it should work :beam:

x_789
July 27th, 2003, 03:14 PM
grim that works ok. Then thing is I want DW to show the files when I go file open.. Instead of having to select show all files.. X

JMS
August 5th, 2003, 11:17 AM
1) Go to Edit > Preferences (or press Ctrl+U)
2) Go to File Types / Editors
3) you can specify what files are opened in code view, and what files are opened with what programs etc

Cheers,

Julian
JMS Media