Getting Dreamweaver MX ( DW MX ) to play nicely with .TPL files
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49438
interpreted = N
texte = Posting to the list for everyone's sake, and so that it's in the archives asI had to dig for the info and use trial-error to get DW to behave as it hadbefore I had to reload the OS. This is from a Windows perspective, Mac's Iwould assume have the same files but obviously in different locations.****Making .tpl files render in Macromedia Dreamweaver MX Design View****Go to your install directory for the program, typically c:\programfiles\Macromedia\Dreamweaver MXInside there, go to the Configuration folder, then DocumentTypes:c:\program files\Macromedia\Dreamweaver MX\Configuration\Document TypesInside there will be an .xml file called MMDocumentTypes.xmlAdd ,tpl to the 3rd line so that it reads like:
****To have .TPL files show in the open file dialog by default:****Open extensions.txt which will be in the Configuration folder on asingle-user environment computer or in C:\Documents and Settings\\Application Data\Macromedia\Dreamweaver MXAdd ,TPL to the second line, the one that looks like:HTM,HTML,HTA,HTC:HTML DocumentsSo that it now looks like:HTM,HTML,HTA,HTC,TPL:HTML DocumentsCut/paste that as the FIRST LINE of the file. Now, when you go to OpenFile, HTML/TPL files will be first. Note: I've found that adding TPL tothe All Documents (default first line) doesn't work as expected.****How to have sanity when working with WebDNA templates in DW****>From within the program, go to Edit > Preferences.Uncheck/disable these 'features':Code Format uncheck Automatic Wrapping (so that code doesn't wrap in themiddle of a context)Code Rewriting Uncheck everything! (I don't trust Never rewrite codein..)File Types / Editors Make sure you haven't added .tpl to the list of Openin Code View as I had done :)Hope it helps someone, and if someone has other suggestions or things thatthey've done to enhance the relationship, please share! Maybe we can get aFAQ on this posted somewhere....GK-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
| |
- Getting Dreamweaver MX ( DW MX ) to play nicely with .TPL files (Gary Krockover 2003)
|
Posting to the list for everyone's sake, and so that it's in the archives asI had to dig for the info and use trial-error to get DW to behave as it hadbefore I had to reload the OS. This is from a Windows perspective, Mac's Iwould assume have the same files but obviously in different locations.****Making .tpl files render in Macromedia Dreamweaver MX Design View****Go to your install directory for the program, typically c:\programfiles\Macromedia\Dreamweaver MXInside there, go to the Configuration folder, then DocumentTypes:c:\program files\Macromedia\Dreamweaver MX\Configuration\Document TypesInside there will be an .xml file called MMDocumentTypes.xmlAdd ,tpl to the 3rd line so that it reads like:****To have .TPL files show in the open file dialog by default:****Open extensions.txt which will be in the Configuration folder on asingle-user environment computer or in C:\Documents and Settings\\Application Data\Macromedia\Dreamweaver MXAdd ,TPL to the second line, the one that looks like:HTM,HTML,HTA,HTC:HTML DocumentsSo that it now looks like:HTM,HTML,HTA,HTC,TPL:HTML DocumentsCut/paste that as the FIRST LINE of the file. Now, when you go to OpenFile, HTML/TPL files will be first. Note: I've found that adding TPL tothe All Documents (default first line) doesn't work as expected.****How to have sanity when working with WebDNA templates in DW****>From within the program, go to Edit > Preferences.Uncheck/disable these 'features':Code Format uncheck Automatic Wrapping (so that code doesn't wrap in themiddle of a context)Code Rewriting Uncheck everything! (I don't trust Never rewrite codein..)File Types / Editors Make sure you haven't added .tpl to the list of Openin Code View as I had done :)Hope it helps someone, and if someone has other suggestions or things thatthey've done to enhance the relationship, please share! Maybe we can get aFAQ on this posted somewhere....GK-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Gary Krockover
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
SiteEdit NewFile.html ? (1997)
Requiring that certain fields be completed (1997)
4.5 to 5.0 question (2003)
Limitations on fields? Server is crashing (1997)
Same DB Same Time (2004)
Caching [include] files ... (1997)
New index for docs (1997)
Template transformed itself into a database? (1998)
[ShowNext] (1997)
Sendmail Enigma (2004)
Re:WebCat for mass emailings (1997)
Forumulas.db & Variables (2002)
Questions (1998)
WebCatalog can't find database (1997)
How can I record purchases to a database? (1998)
[REPLACE] inside [FOUNDITEMS] (1998)
Installation webCatalog (French speakers please help) (1998)
[lookup] again... *solved* (2003)
PSC recommends what date format yr 2000??? (1997)
[OT] SSL security in browser (2005)