컨텐츠 종류별로 입력 형식(Input Filter)의 기본값(Default)를 설정하려면...

댓글

5 comments posted
Default Filter 모듈을

Default Filter 모듈을 테스트해 봤습니다만,
뭔가 이상하네요. 새로 만든 컨텐츠 타입의
디폴트 필터로 Full HTML을 지정해 두었습니다만,
현재 오작동합니다. 안타깝군요.

Posted by palpal on 금, 2008-02-15 02:00
Default Filter 모듈이 잘

Default Filter 모듈이 잘 작동하도록 했습니다.
요령이 다소 필요했습니다(권한 설정).
위 본문에 수정 반영해 두었습니다.

Posted by palpal on 금, 2008-02-15 11:11
이 건에 관한 해결은

이 건에 관한 해결은 드루팔 버전7에서 이룰 가능성이 있어 보입니다. 아래 글에 오랜 시간동안 논의가 진행되고 있구요. 몇몇 예제 인터페이스 이미지도 있네요.

http://drupal.org/node/11218

* 개선된 필터 설정 인터페이스 이미지 :
http://www.asitis.org/tmp/input_formats-per-role.png

Posted by palpal on 금, 2008-02-15 10:48
위 모든 문제를

위 모든 문제를 해결한 필터 모듈이 나왔네요.
아직 6.x대만 지원하고 2009년 1월 기준으로 베타판입니다만 나왔다는 자체가 어딥니까.

Better Formats 모듈 - http://drupal.org/project/better_formats
원했던 기능 이외에도 역할이 다양하네요.

* Set the default format per role.
* Set the default format per content type.
* Control allowed formats per content type.
* Hide format tips.
* Hide more format tips link.
* Hide format selection, forcing the default to be used.
* Expand the selection fieldset by default.
* Disable the expand/collapse of the selection fieldset.
* Set selection fieldset title.
* Set more format tips link text.
* Set default formats for nodes and comments separately.
* Sensible defaults and fail overs for ease of use.
* Works with CCK textareas.

Posted by palpal on 화, 2009-01-27 11:40
위 Better Formats 모듈의

위 Better Formats 모듈의 사용법이 조금 까다롭네요.

관리자로 로그인후 모듈을 설치/활성화한 후,
admin/settings/filters/settings 에 가서,
(메뉴로는 관리 > 사이트 환경설정 > 입력 형식의 환경설정 탭이다)
Control 항목의 Control formats per node type 을 체크/저장한다.

그런 다음, admin/content/types 에 있는 해당 컨텐츠 타입을 [편집],
Input format settings 항목에 있는
Allowed formats: 를 원하는 필터로 설정해 주면
그 다음부터 해당 컨텐츠 타입으로 생성할 때마다 Allowed formats 에서
지정한 입력 필터 형태로 본문이 저장된다.

Posted by palpal on 수, 2009-01-28 12:40