Color Code .inc in Dreamweaver CS4 Mac

Asked
Active3 hr before
Viewed126 times

4 Answers

color
90%

Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers ,There's a workaround to do that on Windows: https://superuser.com/questions/115614/how-make-dreamweaver-color-the-code-as-php-for-inc-files Not sure if it's working on Mac too. Also here's a video tutorial. ,Thanks for contributing an answer to Stack Overflow!, By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

I've had this same issue, but on a mac on cs5.5 - For the life of me, I couldn't get it to work, but then I read that there are actually 4 files that need to be edited.

~/Library/Application
Support / Adobe / Dreamweaver CS5 .5 / en_US / Configuration / DocumentTypes / MMDocumentTypes.xml

   ~/Library/Application
Support / Adobe / Dreamweaver CS5 .5 / en_US / Configuration / Extensions.txt
load more v
88%

Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh)., Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh). ,Select Interface from the Category list on the left., Select Interface from the Category list on the left.

.HTML {
   .cm - tag {
         color: #00D0D0;}
}
load more v
72%

Below is what you need to change it to (copy and paste this if you need to, but be careful that you don’t overwrite anything other than these lines):,We now need to adjust the ‘MMDocumentTypes.xml’ file to move the ‘.tpl’ and ‘.inc’ file extensions from the HTML group to the PHP group. In doing this, we’ll complete the process and the final step will be to restart Dreamweaver and let it re-register these files during the program initialization.,Next, we need to make sure that both of these extensions exist in the PHP area that’s further down the page. See the screenshot below for an example on how to add it:,With approximately 250 million US consumers on the internet, it’s an absolute requirement for...

The first line of XML code that we need to locate is on line 3 (or at least that’s the line it’s on in my file). Below is what the unaltered, original code looks like:

<documenttype id="HTML" internaltype="HTML" winfileextension="htm,html,shtml,shtm,stm,tpl,lasso,ssi,inc,jhtml,ccd" macfileextension="htm,html,shtml,shtm,tpl,lasso,ssi,inc,jhtml,ccd" file="Default.html" writebyteordermark="false">

<documenttype id="HTML" internaltype="HTML" winfileextension="htm,html,shtml,shtm,stm,tpl,lasso,ssi,inc,jhtml,ccd" macfileextension="htm,html,shtml,shtm,tpl,lasso,ssi,inc,jhtml,ccd" file="Default.html" writebyteordermark="false">
load more v
65%

The requested URL /books%3Fid%3Dd2cikXusxM8C%26printsec%3Dcopyright%26hl%3Dfr was not found on this server. That’s all we know.

404. That’s an error.

The requested URL /books%3Fid%3Dd2cikXusxM8C%26printsec%3Dcopyright%26hl%3Dfr was not found on this server. That’s all we know.

/books%3Fid%3Dd2cikXusxM8C%26printsec%3Dcopyright%26hl%3Dfr

Other "color-undefined" queries related to "Color Code .inc in Dreamweaver CS4 Mac"