Skip to content

Plugin Project Customisation

MichaelKling edited this page Mar 9, 2012 · 2 revisions

Plugin Project Customisation

Goal of the Plugin

In order to provide redmine as a service to other companies, project settings should be enhanced in order to switch to their corporate design and send notifications from their email adresses.

2 new project settings are needed:

Project Theme and Project Mail/Mail Settings

Logic

Project Theme

As theme a css theme will be used like already implemented for the overall redmine theme (Settings in Admin->Configuration->Display->Style )

This setting has to be available also in the project settings.

If a custom theme is selected, this theme has to be used on all project related pages. Furthemore project neutral pages have to stick with the last project related theme (in order to prevent lot of theme switching only for checking the user account etc).

In order to display a specific login screen, special paths has to be provided:

  • redmine.path/theme/THEMENAME

If redmine is called on this path, the specific theme is selected. Same goes if links are choosed with project related input.

The login screen should select the screen depending on the url which was called before the login screen is showed.

Example:

  • redmine.path/ => Default Theme

  • redmine.path/issues/24 => Theme of project of issue 24

  • redmine.path/projects/bla => Theme of project of bla

  • redmine.path/my/account => Default Theme

This way the subcompany can provide his access link always as a link to "his" project managemant tool.

Project Email

In order to provide the system as his own system it is necessary that the email notifications are sent from a company specific email.

For this reason, every project should have the possibility to configure a own email adress and email settings. For the email it should be possible to do almost as much settings as it would be possible in the redmine mail settings file.

Also email Header and Footer (like in the redmine settings) should be configurable.

Every project related notification mail should be sent by this mail.

Inheritance and precedence

Redmine Settings < Custom Subproject Settings < Custom Project Settings

Helpful Links

This already existing plugin has a similar functionality: http://www.redmine.org/plugins/projectstyle

Clone this wiki locally