modifying some Redmine plugins

Added by Sylviane A over 8 years ago

Hi,

I would like to modify the information viewed in the page "Documents" and "Files" but I don't know where the files to modify are stored in Redmine.
Someone can help me?

Thanks

Replies (2)

RE: modifying some Redmine plugins - Added by Andrew Chaika over 8 years ago

They are implemented in Redmine core.
From lib/redmine.rb:

  menu.push :documents, { :controller => 'documents', :action => 'index' }, :param => :project_id, :caption => :label_document_plural
  ...
  menu.push :files, { :controller => 'projects', :action => 'list_files' }, :caption => :label_attachment_plural

Documents - views are in app\views\documents controller is app\controllers\documents_controller.rb
Files - views are parts of project controller views - app\views\projects controller is app\controllers\projects_controller.rb

RE: modifying some Redmine plugins - Added by Sylviane A over 8 years ago

Hi,

Thanks for you help

S.

(1-2/2)