Project

General

Profile

Actions

Feature #9355

closed

Allow customize help_url without changing lib/redmine/info.rb

Added by Vincent-Xavier JUMEL over 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Administration
Target version:
-
Start date:
2011-09-30
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix

Related issues

Is duplicate of Redmine - Feature #12969: Ability to redefine "Help" linkClosed

Actions
Actions #1

Updated by Mischa The Evil over 12 years ago

Please look at the submission guidelines and provide some more info about the issue.

Actions #2

Updated by Vincent-Xavier JUMEL over 12 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.

Actions #3

Updated by Etienne Massip over 12 years ago

  • Tracker changed from Defect to Feature
Actions #4

Updated by Etienne Massip over 12 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
Actions #5

Updated by Michael Esemplare about 11 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?

Actions #6

Updated by Jean-Philippe Lang about 11 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.

Actions #7

Updated by Mischa The Evil about 11 years ago

I started work on a new plugin for this. The Redmine Custom Help URL plugin is the result.
See Redmine Custom Help URL plugin (v.0.0.2) for the first public announcement.

Actions

Also available in: Atom PDF