Adding a new tab to each project
Added by Martijn Jonker almost 11 years ago
I've added the following line to redmine.rb in the /usr/redmine/lib folder:
menu.push :etiquette, { :controller => 'wiki', :action => 'show', :page => 'Etiquette' }, :param => :project_id
This successfully adds a new tab after restarting apache/redmine however it doesn't take me to the right wiki page:
http://redmine.mydomain.com/projects/test-project/wiki?page=Etiquette
I want it to go to this instead:
http://redmine.mydomain.com/projects/test-project/wiki/Etiquette
How do I achieve this?
Note that I want to add this tab for each new project.
Replies (1)
RE: Adding a new tab to each project - Added by Martijn Jonker almost 11 years ago
I forgot to mention this new tab I added doesn't work whenever the activity tab is active. I don't know how to fix that.