Single project setup
Added by Andreas Huggel almost 16 years ago
I'd like to setup Redmine for only one project, just like www.redmine.org is setup: "Home" in the top left corner redirects to the Wiki and there is no "Jump to a project" drop down list on the right side next to the search box. That's exactly what I need.
But I haven't been able to figure out how to do this. In my installation ("Redmine 0.8.0.stable"), the "Home" link goes to a home page and there is a drop down list to select a project with only one project to select from, which directs to the Overview page.
I haven't found a setting to achieve the desired effect (being an application admin, not the sysadmin) nor any related info on the redmine.org site, and would appreciate any help.
Thanks,
Andreas
Replies (4)
RE: Single project setup - Added by Jean-Baptiste Barth almost 16 years ago
I think that for the moment, you have to be the sysadmin and not just a web user with redmine administrator privileges ; at least you have to be able to change some redmine files (perhaps with ftp?). Here are the steps I followed to do that at work, maybe other people will have other ideas..
In order to set the wiki tab as the welcome page, you can change the "config/routes.rb" file like this :
- comment the line map.home '', :controller => 'welcome'
by adding a sharp at the beginning
- add a new line after that one : map.home '', :controller => 'wiki', :id => 'your-project-name'
(the name is the short name you precised as an identifier for this project ; but I think you can also put the project numeric ID)
To hide the "jump to project" drop down list, you can just change the CSS file in your current theme :
- in "public/themes/your-theme/stylesheets/application.css" (or ohter css file, you'll have to adapt), you can add (or change) the line #quick-search select {display:none;}
RE: Single project setup - Added by Brad Schick almost 16 years ago
I am the sysadmin for the server hosting Andreas Redmine install. The server hosts multiple domains, and I am currently using one Redmine code install with multiple "environments" to simulate separate Redmine installs. So the solution would need more logic than the suggestion provided above since some of the environments do have multiple projects, and I wouldn't be able to hard-code a project name in the source.
But I agree that this would be a nice feature for those with only one project. I think the best solution would be for Redmine to provide customizable settings. Actually the only setting needed would be control over the home page since showing the "jump to project" dropdown (and the "projects" link at the top) when there is only one project doesn't really make much sense anyway.
I'll see if this feature has been requested, and if not add an issue for it.
RE: Single project setup - Added by Marco Descher over 11 years ago
This is not applicable to the newest version anymore! Could you please give an update? Thanks :)