Project

General

Profile

Create new tab on projects ("Reports" or something like it)

Added by Miguel Akira about 13 years ago

Hello. I just installed and started using redmine. I would like directions on how to create a new tab on a project, for example, a simple "reports" tab, where the user could add some simple text informations.

This would be for learning purposes only and the "reports" name is just an example.

I wrote a simple controller but I don't know how to make it appear on the selectable modules of the project. Is there any site or tutorial that contains some information about it?

Thanks!


Replies (3)

RE: Create new tab on projects ("Reports" or something like it) - Added by Felix Schäfer about 13 years ago

The wiki contains help about plugins, including help on creating modules in them.

RE: Create new tab on projects ("Reports" or something like it) - Added by Miguel Akira about 13 years ago

Ah I see, thanks, that was exactly what I was looking for.

I'm somewhat new to Ruby on Rails and Redmine. I built a simple 'reports' plugin that allows people to add some reports to a project (only with title and text). Problem is, the reports don't really belong to a project, the same reports can be seen in every project.

A basic question is, to make a report belong to a project, do I have to alter the projects model? Or I can just add a belongs_to project in the reports?

Thanks!

RE: Create new tab on projects ("Reports" or something like it) - Added by Stefan H Singer about 13 years ago

You could have a look at the Wiki Extensions plugin, which allows you to create a new tab in a project which then works just like a wiki page.

    (1-3/3)