Feature #1233
openchange default homepage to My page
Added by Robert Cerny over 16 years ago. Updated over 2 years ago.
0%
Description
I would like to get a preference to set homepage to another page. My page is prefered, popup button with more options (MyPage, Wiki, Selected Project...) would be better
Files
adds_default_page.patch (9.29 KB) adds_default_page.patch | Makoto NAKAYA, 2012-05-09 07:03 |
Related issues
Updated by Matt Meng over 15 years ago
+1
This is something I've been hoping to see for quite some time. It would be great if it were a per-user based choice, so that one user could select "My Page" as default while another decides upon "Wiki".
Updated by David P over 15 years ago
+1
The ability to choose a project->roadmap or version as the default view would be nice.
Updated by Noname Noname about 15 years ago
+1 here, if we could have it so we could set an overall home page for the site i.e. the issues page
Updated by Robert Gruendler almost 15 years ago
+1 optionally setting default homepage to "my page" would be great.
ie. we don't use "news" a lot in our projects, so the default homepage doesn't show any recent information at all, hence you click it away in 99% of the cases.
Updated by Sebastian M. almost 14 years ago
Here's how to change it manually:
Edit config/routes.rb
Change
map.home '', :controller => 'welcome'
to
map.home '', :controller => 'my', :action => 'page'
Updated by James Stewart almost 14 years ago
Another way of doing this, is to create a new Redmine plugin, and modify <plugin>/config/routes.rb. I do this mainly to keep from having to modify Redmine core files, making upgrades and testing simpler.
map.home '', :controller => 'my'
I removed the page action because it causes rake test to fail, and looking at the My controller, page is defined in the index method.
RAILS_ENV=test rake test
Updated by Etienne Massip over 13 years ago
- Target version set to Candidate for next major release
Updated by Thomas Evensen over 13 years ago
+1
Would it be possible, while we wait, for someone to produce a plugin we could use. Perhaps also with an easy configuration option of choosing what page/project-page to choose?
Updated by Hisham Al-Shurafa over 13 years ago
+1 My page has better info than 'Home'. I already went ahead and changed it for my team by editing config/routes.rb
Updated by André Bachmann over 13 years ago
I'm wondering what exactly has to be in config/routes.rb so that the user is automatically redirected to the wiki page of a project? I want the exact behaviour of www.redmine.org, where the user is guided to the wiki of the project automatically.
Who can give a hint?
Updated by side2k . about 13 years ago
André Bachmann wrote:
I'm wondering what exactly has to be in config/routes.rb so that the user is automatically redirected to the wiki page of a project? I want the exact behaviour of www.redmine.org, where the user is guided to the wiki of the project automatically.
Who can give a hint?
Here it is:
map.home '', :project_id => 'myproject', :action => 'show', :controller => 'wiki'
Of course, you should put your project name instead of myproject
Updated by Uwe Koloska over 12 years ago
Maybe this plugin will do what you want: Landing Page
Updated by Makoto NAKAYA over 12 years ago
- File adds_default_page.patch adds_default_page.patch added
Hello,
I made the patch from branch "master". This patch works on 1.4.1 stable.
It adds column "default_page" and "default_project_id" to table "users".
"default_page" means what should be loaded after logined.
"default_project_id" means user's default project. But it can be selected from projects that are joined by user.
There is no test code because I don't know how to write tests....
Regards
Updated by Kevin Cloutier about 12 years ago
What would be added to routes.rb
to land the users on 'view all issues' and optionally with a selected saved query?
Updated by Den Iskandarov about 12 years ago
How to make default page as:
Home -> Projects -> View all issues ?
Redmine 2.1.0
Updated by Sunny Jaiwal about 12 years ago
I was able to successfully change the home page in Redmine 2.1.0 by changing the following statement in /config/routes.rb from
root :to => 'welcome#index', :as => 'home'
to
root :to => 'reports#issue_report', :id => 'myproject', :as => 'home'
where "myproject" is the project identifier.
Updated by Filou Centrinov almost 12 years ago
Updated by Daniel Felix almost 12 years ago
Updated by Dipan Mehta over 11 years ago
You can do exactly the same thing using Redmine Start Page plugin
Install, and config [ contoller= my , action = page ]
Updated by David Muir over 11 years ago
Redmine Start Page plugin says:
Compatible with: Redmine 1.2.x
Not really a viable solution if it's not available for the 2.x branch.
Updated by Branden Strickland about 11 years ago
If you follow to the Github page you'll see that it's usable for 2.x - They just didn't update the plugin page.
Updated by Filou Centrinov about 10 years ago
- Related to Feature #4349: Choose startpage in My account added
Updated by Filou Centrinov about 10 years ago
- Related to Feature #6464: Ability to set landing page after login added
Updated by Anonymous almost 10 years ago
Sunny Jaiwal wrote:
I was able to successfully change the home page in Redmine 2.1.0 by changing the following statement in /config/routes.rb from
root :to => 'welcome#index', :as => 'home'
to
root :to => 'reports#issue_report', :id => 'myproject', :as => 'home'
where "myproject" is the project identifier.
How can I set it to /redmine/projects/myproject/issues
Please help
Updated by Nathan Eddle almost 10 years ago
root :to => 'reports#issue_report', :id => 'myproject', :as => 'home'
where
myproject
is the project identifier.How can I set it to /redmine/projects/myproject/issues
You can use issues#index
.
For the activity page, it's activities#index
.
And.. the one I was looking for is the overview page for a project: projects#show
. This works with one project for all users.
Updated by Danilo Muñoz almost 9 years ago
For a while, and working around, I changed the config/routes.rb:
root :to => redirect('relative URL')
Updated by David Raid over 8 years ago
Bonjour,
My browser shortcut to Redmine points to http://myserver/my/page, and I land on "My page" after login.
You can use whatever Redmine URL you want in your browser shortcuts, it seems that you land on the specified page after login.
The feature will provide a single landing page, where browser shortcuts will provide as many as landing pages you want.
It's up to each user to choose his shortcuts to land on his favorite pages.
David
Updated by Alex Kanogin about 8 years ago
I changed the config/routes.rb:
from:
root :to => 'welcome#index', :as => 'home'
to:
root :to => 'my#page', :as => 'home'
Work at redmine version 3.3.0.
After login at domain name, browser open /my/page.
Updated by Marshall Hoang about 7 years ago
Alex Kanogin wrote:
I changed the config/routes.rb:
from:
root :to => 'welcome#index', :as => 'home'
to:
root :to => 'my#page', :as => 'home'Work at redmine version 3.3.0.
After login at domain name, browser open /my/page.
So what'll you do when Redmine updates core?
Updated by Gokul NK over 6 years ago
Milo H wrote:
Did it worked at redmine version 3.4.5?
It is just Ruby on Rails based routing. So this hack should I deally work in all the versions. I can confirm that it worked on 3.4.3.stable.17157
Updated by Gokul NK over 6 years ago
After making the change you will need to add
# Just add this below 'root :to=> ...' line match '/', :to => 'welcome#index', via: :all
For more details you can follow http://www.redmine.org/issues/11284
Updated by Nikaola Piterskii over 4 years ago
Any chance of adding this functionality?