hi all,
i have found the small hack for, CakePHP 1.2 ctp file code coloring in
Dreamweaver 8.

step 1: Open the file from "Program Files/Macromedia/Dreamweaver 8/
Configuration/DocumentTypes/DocumentTypes.xml".

setp 2: Find the line [approximatly line # 75],
        <documenttype id="PHP_MySQL" servermodel="PHP MySQL"
internaltype="Dynamic" winfileextension="php,php3,php4,php5,ctp"
macfileextension="php,php3,php4,php5,ctp" file="Default.php"
writebyteordermark="false">
                <TITLE>
                        <MMString:loadString id="mmdocumenttypes_14" />
                </TITLE>
                <description>
                        <MMString:loadString id="mmdocumenttypes_15" />
                </description>
                <dtdcontext>html</dtdcontext>
        </documenttype>

step 3:add ctp extension in  winfileextension.

Now close the dreamweaver[if you have opened], and open dreameweaver
and open any CakePHP ctp file.

hope this helps someone, and if someone knows an easier way to modify
the settings - without hacking the config files - please let me know!


regards,
palPalani


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to