Best approach to customize Redmine
Added by Jimmy Zimmerman over 15 years ago
Hi All,
I would like to do some customization on my Redmine site, but I'm a bit hesitant to modify code in the main app/ directory because I would like to continue to easily update my site with new releases.
Is there a good approach for overriding Controller methods/behavior in a plug-in that would allow my customizations to remain independent from the core source of the Redmine application?
Would a redmine_plugin (script/generate redmine_plugin) be suited for this type of behavior?
Any good links about this?
Thanks,
Jimmy
Replies (2)
RE: Best approach to customize Redmine - Added by Andrew Chaika over 15 years ago
Jimmy Zimmerman wrote:
Is there a good approach for overriding Controller methods/behavior in a plug-in that would allow my customizations to remain independent from the core source of the Redmine application?
Wrapping modifications into plugins is better than modifying Redmine core. Best solution is to use Redmine hooks, but unfortunaly not all features can be implemented in such way.
Any good links about this?
See Plugin Tutorial, Plugin Internals, Hooks and plugin implemplementations of others.
RE: Best approach to customize Redmine - Added by Andrew Chaika over 15 years ago
PS About hooks: as I understand if you need some new hook you can post request for it and it can be added/commited by Eric in just few days into the trunk