changing redmine view

Added by bilel kedidi about 4 years ago

Hello,
1) How can i add link, information into redmine's view without writing into the sources code and using plugins.?
2) How can we change the function of a controller(eg: issues_controller.rb) in redmine by using plugins?
thx for helping me.

issue 0.PNG - link before any change (2.78 KB)

issue_final.PNG - adding links into redmine's view ( sorry, it's a french verison). (3.43 KB)

Replies (2)

RE: changing redmine view - Added by Mischa The Evil about 4 years ago

bilel kedidi wrote:

1) How can i add link, information into redmine's view without writing into the sources code and using plugins.?

Based on the attached screenshot I suppose you want to add a link to the contextual "menu" in the issue (show) view. This is doable using a plugin. However, a direct hook is not available (see request #3568). This makes that you need to workaround this by
  • overriding the action_menu partial
  • using some JavaScript

An example of the last can be seen in the Redmine Close Button plugin.

2) How can we change the function of a controller(eg: issues_controller.rb) in redmine by using plugins?

See the following resources:

RE: changing redmine view - Added by bilel kedidi about 4 years ago

thx for that.
if i want to make redmine execute a fonction in my plugin instead of its own fonction(eg: i want that redmine access my fonction new_index in issue_controller insted of index)
thanks for that

(1-2/2)