Thank you for this tip On 2/12/07, wedge <[EMAIL PROTECTED]> wrote: > > > I'm using Dreamweaver 8 too. > > And there's a way to make .thtml files editable like .php files. Found > the text here, forgot to note the author. > > ----- > > Just a couple of tips for developers who prefer to develop their page > layouts in Dreamweaver or work with graphics people who use > Dreamweaver. These are for DW 8. > > 1. Make thtml files editable in the design view > > - Find the Extensions.txt file in Dreamweaver's "Configuration" folder > and edit the line > > PHP,PHP3,PHP4,PHP5,TPL:PHP Files > > to read > > PHP,PHP3,PHP4,PHP5,TPL,THTML:PHP Files > > - Find the MMDocumentTypes.xml file in the "DocumentTypes" (this is in > the "Configuration" folder) and change the line > > <documenttype id="PHP_MySQL" servermodel="PHP MySQL" > internaltype="Dynamic" winfileextension="php,php3,php4,php5" > macfileextension="php,php3,php4,php5" file="Default.php" > writebyteordermark="false"> > > to read > > <documenttype id="PHP_MySQL" servermodel="PHP MySQL" > internaltype="Dynamic" winfileextension="php,php3,php4,php5,thtml" > macfileextension="php,php3,php4,php5,thtml" file="Default.php" > writebyteordermark="false"> > > 2. Use the "Design Time Style Sheet" to allow you to view thtml files > with the appropriate css style applied. > > - Open up the thtml file you wish to edit then from the main menu > select Text > CSS Styles > Design-time . Select the "+" above the > "Show only at design time" box and select the cake.default.css file > from the "webroot/css" folder. > > ------ > > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---