Feature #9355
closedAllow customize help_url without changing lib/redmine/info.rb
0%
Related issues
Updated by Mischa The Evil about 13 years ago
Please look at the submission guidelines and provide some more info about the issue.
Updated by Vincent-Xavier JUMEL about 13 years ago
In order to customize the Guide url, I need to modify a core file and I don't have any config parameter that could handle this situation.
Updated by Etienne Massip about 13 years ago
- Tracker changed from Defect to Feature
Updated by Etienne Massip about 13 years ago
- Subject changed from customize help_url withou changing lib/redmine/info.rb to Allow customize help_url without changing lib/redmine/info.rb
- Category set to Administration
Updated by Michael Esemplare almost 12 years ago
Related to Feature #12969
I tried to implement this as my company needs this. I tried adding a setting for this, and applying it in lib/redmine.rb. However it seems that even after saving the setting, the url link doesn't actually change unless I reload the web server.
I am guessing this is only set and read once:
in lib/redmine.rb:
menu.push :administration, { :controller => 'admin', :action => 'index' }, :if => Proc.new { User.current.admin? }, :last => true - menu.push :help, Redmine::Info.help_url, :last => true + menu.push :help, Setting.app_help_url , :last => true
in app/views/settings/_general.html.erb:
<p><%= setting_text_field :app_title, :size => 30 %></p> + + <p><%= setting_text_field :app_help_url, :size => 30 %></p> + <p><%= setting_text_area :welcome_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %></p>
in config/settings.yml
app_title: default: Redmine + app_help_url + default: www.redmine.org/guide app_subtitle: default: Project management
in config/locales/en.yml || en-GB.yml
setting_app_title: Application title + setting_app_help_url: Application Help URL setting_app_subtitle: Application subtitle setting_welcome_text: Welcome text
Am I doing something wrong, or should this really be a plugin as suggested in #12969?
Updated by Jean-Philippe Lang almost 12 years ago
- Status changed from New to Closed
- Resolution set to Wont fix
Yes, this should really be a plugin. You can remove the menu item and add your own easily.
Updated by Mischa The Evil almost 12 years ago
I started work on a new plugin for this. The Redmine Custom Help URL plugin is the result.
See for the first public announcement.