Modify helper functions inside a plugin.

Added by Bernhard Rohloff about 1 month ago

Hi all,

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 application_helper.rb and 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,

Bernhard

Replies (1)

RE: Modify helper functions inside a plugin. - Added by Bernhard Rohloff about 1 month ago

I think, I have found the answer by myself...
Just RTFM at Plugin_Internals.

(1-1/1)