Project

General

Profile

Dynamic top_menu items

Added by Benjamin FRAUD over 13 years ago

Hi!

I added a link to my top_menu header by using the menu.push function in redmine.rb. The name and URL are configurable through the administration panel, and it works fine by using parameters Setting.name and Setting.url. The thing is, I assume redmine.rb is loaded just once, for the settings changes are not considered till I reload the Webrick.

My question is, is there a better way to add this menu item, without touching redmine.rb? (I would actually like to put it in a plugin). The same goes for settings in settings.yml, where can I define some new settings without touching the core?

Thanks and have a nice day.