I have a plugin that needs to add something the the base Redmine layout. The change consists of a couple divs and a call to a JavaScript function.开发者_如何学C Currently I am accomplishing this by simply overriding the base layout view.
I don't like doing this since if we upgrade Redmine any pages overridden would not update with the updated version. Is there a more elegant way to add this functionality?
You will want to use the Redmine Hooks to add content to the base layout.
精彩评论