프로젝트

일반

사용자정보

redmine 6.x 버전에서 테마 설치

Lee JK이(가) 2025-02-26에 추가

안녕하세요. 

6.x 버전에서는 테마 설치방법이 일부 변경되어 공유드립니다. 
 

테마가 올바른 디렉토리에 위치해야 함.

  • 기존: /usr/src/redmine/public/themes/bleuclair
  • 변경 후 (Redmine 6): /usr/src/redmine/themes/bleuclair
 

Redmine 6에서는 테마의 application.css 파일이 Redmine의 기본 CSS를 불러오는 경로가 변경되었습니다.

  • 기존: @import url(../../../stylesheets/application.css);
  • 변경 후 (Redmine 6): @import url(../../application.css);

제가 설치한 테마는 아래 경로에 있습니다. 
https://github.com/farend/redmine_theme_farend_bleuclair


플러그인 관련해서도 일부 변경사항이 있다고 합니다. 

  • 모든 플러그인의 모델 파일 (/plugins/플러그인명/app/models/)을 확인
  • ActiveRecord::Base를 상속하는 모델이 있으면, ApplicationRecord로 변경
  • class CustomModel < (defined?(ApplicationRecord) ? ApplicationRecord : ActiveRecord::Base) end
    • Redmine 6 이상이면 ApplicationRecord 사용
    • Redmine 5 이하는 ActiveRecord::Base 사용


아래 플러그인은 특별한 조치없이 잘 사용 중입니다. 
https://github.com/alphanodes/redmine_messenger


자세한 사항은 아래 내용을 참고해주세요. 
참고 : https://www.redmineadvisor.com/articles/6_0/checklist-themes-plugins-developer-before-redmine-6/


 

클립보드 이미지 추가 (최대 크기: 500 MB)