Modify helper functions inside a plugin.
I would like to change the basic behavior of the main title (h1) in the header section to also show the subtitles (h2), which are in the content section.
Goal of it should be the elimination of the subtitles and as a result a cleaner and easier navigation.
Therefore I have to make modifications in the helper functions in
issues_helper.rb and I think it would be insane to make these changes in the core files.
An implementation via plugin would make more sense. As I have red in the developer documentation it's possible to override des core views with a plugin implementation. Is this possible for helper functions, too? Or would it be a cleaner approach to override the base layout and add some separate helper functions to the plugin?
This should be the result (before & after):
Thanks in advance,
redmine_header_before_after.png (21.5 KB)
RE: Modify helper functions inside a plugin. - Added by Bernhard Rohloff 4 months ago
I think, I have found the answer by myself...
Just RTFM at Plugin_Internals.