Project

General

Profile

Approach to adding a plugin's settings to the My Account page

Added by Syntactic Vexation about 13 years ago

Hi,

I'm developing a plugin that I'd like to have its settings as tab off the My Account page, I have the following in my init.rb file:

class GitosisPublicKeyHook < Redmine::Hook::ViewListener
render_on :view_my_account_contextual, :inline => "| <%= link_to(l(my link details) %>"
end

Which works but I also use the Redmine Gitosis plugin alongside which uses this same trick to add an item to the my account context menu and overwrites my context item. What's the best approach here? Is my adding an item to the my account contextual menu a bad idea?

Thanks.


Replies (1)

RE: Approach to adding a plugin's settings to the My Account page - Added by Syntactic Vexation almost 13 years ago

Nevermind, I realised I didn't change the class name. >.< All sorted now.

    (1-1/1)