Themes » History » Version 20
Katsuya HIDAKA, 2024-12-05 02:02
Fix incorrect list numbering and indentation
| 1 | 1 | Mischa The Evil | h1. Themes |
|---|---|---|---|
| 2 | |||
| 3 | 11 | Jean-Philippe Lang | Redmine provides basic support for themes. Redmine themes can override stylesheets only (like @application.css@). |
| 4 | 1 | Mischa The Evil | |
| 5 | h2. Installing a theme |
||
| 6 | |||
| 7 | 20 | Katsuya HIDAKA | # If you are on Redmine version 5 or below: First, copy the theme-directory into @../public/themes/@. This would result in a directory-path to @application.css@ like: |
| 8 | <pre> |
||
| 9 | ../public/themes/<themename>/stylesheets/application.css |
||
| 10 | </pre> |
||
| 11 | If you are on Redmine version 6.0 or above: Please copy the theme-directory into @/themes/@ instead. This would result in a directory-path to @application.css@ like: |
||
| 12 | <pre> |
||
| 13 | /themes/<themename>/stylesheets/application.css |
||
| 14 | </pre> |
||
| 15 | This is consistent with the requirements (breaking change) as document here: https://www.redmine.org/issues/39111 |
||
| 16 | 18 | Kelvin Quee | Additionally, for Redmine 6 or above, you will need to serve another directory on your chosen web server. For Apache2, you may consider adding the following config to your current site: |
| 17 | 20 | Katsuya HIDAKA | <pre> |
| 18 | 18 | Kelvin Quee | Alias /assets/themes /themes |
| 19 | <Location /themes> |
||
| 20 | Allow from all |
||
| 21 | Options -MultiViews |
||
| 22 | Require all granted |
||
| 23 | </Location> |
||
| 24 | </code></pre> |
||
| 25 | # You now may need to restart Redmine so that it shows the newly installed theme in the list of available themes. |
||
| 26 | 1 | Mischa The Evil | # Go to "Administration -> Settings" -> "Display" and select your newly created theme in the "Theme" drop-down list. Save your settings. |
| 27 | 4 | Mischa The Evil | |
| 28 | 1 | Mischa The Evil | Redmine should now be displayed using the selected theme. |
| 29 | |||
| 30 | h2. Theme list |
||
| 31 | 10 | Mischa The Evil | |
| 32 | 7 | Shane Pearlman | A list of available Redmine themes can be found at the [[Theme List|Redmine theme list]]. |
| 33 | 1 | Mischa The Evil | |
| 34 | h2. Creating custom themes |
||
| 35 | 9 | Mischa The Evil | |
| 36 | 1 | Mischa The Evil | There is a howto ([[HowTo create a custom Redmine theme]]) which explains how to create a custom Redmine theme. |