[Dreamweaver] PHP 코드 컬러링을 HTML 파일에서도 먹히도록

웹디자인 관련 정보, 툴 사용 방법등

[Dreamweaver] PHP 코드 컬러링을 HTML 파일에서도 먹히도록

Post작성자 waitfor on 2010-01-08 15:36:55

http://jacksonwhelan.com/2008/12/php-co ... eamweaver/
I use the .html extension for many of my php files for varying reasons. I had given up on getting Dreamweaver to color the code properly until I stumbled upon this post:

http://groups.google.com/group/macromed ... raot&pli=1

First, copy this file from the app config folder:

C:\Program Files\Adobe\Adobe Dreamweaver
CS3\configuration\CodeColoring\PHP.xml

To the user config folder:

C:\Documents and Settings\[username]\Application Data\Adobe\Dreamweaver
9\Configuration\CodeColoring\

Then open PHP.xml in your favorite editor. You need to add HTML to all
of the doctype lists Change every occurrence of this:

doctypes=”PHP_MySQL”

to be:

doctypes=”PHP_MySQL,HTML”

Save and close. If DW is running, close it. Now restart DW.

Worked like a charm. I’m using OSX, so just did a search for the appropriate files and found the folder structure to be about the same as above.

Voila. Thank you Randy Edmunds!
오픈소스 SW 보호 캠페인 - http://foss4u.or.kr/campaign/?rurl=fosscamp0004860
waitfor.com 정보가 유용한지에 대한 투표 참여하기

waitfor 프로필 보기
waitfor 글 모두 보기
waitfor 에게 메세지 보내기

NEWTOPIC 또는 POSTREPLY 버튼을 이용하여 손님도 글을 작성할 수 있습니다.
waitfor.com 회원가입
User avatar
waitfor
운영자
운영자
 
Posts: 1093
Joined: 2008-11-10 21:20:30

Re: [Dreamweaver] PHP 코드 컬러링을 HTML 파일에서도 먹히도록

Post작성자 waitfor on 2010-05-18 15:07:59

Windows 7, Dreamweaver CS4 기준 - 사용자별 폴더에 해당 정보가 없어서 원본 PHP.xml 파일을 직접 수정하여 적용 완료..~

C:\Program Files\Adobe\Adobe Dreamweaver CS4\configuration\CodeColoring\PHP.xml
PHP.xml

이 주제에 첨부된 자료를 다운로드 할 권한이 없습니다. 비회원인 경우 회원가입이 필요합니다.
오픈소스 SW 보호 캠페인 - http://foss4u.or.kr/campaign/?rurl=fosscamp0004860
waitfor.com 정보가 유용한지에 대한 투표 참여하기

waitfor 프로필 보기
waitfor 글 모두 보기
waitfor 에게 메세지 보내기

NEWTOPIC 또는 POSTREPLY 버튼을 이용하여 손님도 글을 작성할 수 있습니다.
waitfor.com 회원가입
User avatar
waitfor
운영자
운영자
 
Posts: 1093
Joined: 2008-11-10 21:20:30

Re: [Dreamweaver] PHP 코드 컬러링을 HTML 파일에서도 먹히도록

Post작성자 waitfor on 2010-06-18 15:54:47

윈7 이나 비스타의 경우 권한 문제로 파일이 수정되지 않을 수 있으므로, 관리자 권한을 잘 이용하여야 함
오픈소스 SW 보호 캠페인 - http://foss4u.or.kr/campaign/?rurl=fosscamp0004860
waitfor.com 정보가 유용한지에 대한 투표 참여하기

waitfor 프로필 보기
waitfor 글 모두 보기
waitfor 에게 메세지 보내기

NEWTOPIC 또는 POSTREPLY 버튼을 이용하여 손님도 글을 작성할 수 있습니다.
waitfor.com 회원가입
User avatar
waitfor
운영자
운영자
 
Posts: 1093
Joined: 2008-11-10 21:20:30


Return to Web Design & HTML & CSS

Who is online

Users browsing this forum: No registered users and 2 guests

cron