Feature #4356

add ability Plugin may contain the theme for Redmine

Added by Alexey Lustin about 13 years ago. Updated about 13 years ago.

Status:NewStart date:2009-12-07
Priority:NormalDue date:
Assignee:-% Done:


Category:Plugin API
Target version:-


at this moment Redmine analyse only themes dir in RAILS_ROOT

module Redmine::Themes

    def self.scan_themes
      dirs = Dir.glob("#{RAILS_ROOT}/public/themes/*").select do |f|
        # A theme should at least override application.css
        File.directory?(f) && File.exist?("#{f}/stylesheets/application.css")
      dirs.collect {|dir| Theme.new(dir)}.sort

if I want to create my own CSS that's enough for me


if I want to create my own views, I would be create a new plugin with redefined views of core

it is incorrect I think my theme in the core, but the views in plugin

what's why I suggest

  • add ability to Redmine Plugin Engine to support the themes for Redmine


#1 Updated by Jean-Philippe Lang about 13 years ago

  • Category set to Plugin API

Also available in: Atom PDF