プロジェクト

全般

プロフィール

Vote #63221

未完了

change default homepage to My page

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
UI_10
開始日:
2008/05/13
期日:
進捗率:

0%

予定工数:
category_id:
10
version_id:
32
issue_org_id:
1233
author_id:
1046
assigned_to_id:
0
comments:
40
status_id:
1
tracker_id:
2
plus1:
11
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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


journals

+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".
--------------------------------------------------------------------------------
+1

The ability to choose a project->roadmap or version as the default view would be nice.
--------------------------------------------------------------------------------
+1 here, if we could have it so we could set an overall home page for the site i.e. the issues page
--------------------------------------------------------------------------------
+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.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Here's how to change it manually:

Edit *config/routes.rb*

Change
<pre>
map.home '', :controller => 'welcome'
</pre>
to
<pre>
map.home '', :controller => 'my', :action => 'page'
</pre>
--------------------------------------------------------------------------------
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.

<pre>
map.home '', :controller => 'my'
</pre>

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.
<pre>
RAILS_ENV=test rake test
</pre>

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
+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?
--------------------------------------------------------------------------------
+1 My page has better info than 'Home'. I already went ahead and changed it for my team by editing config/routes.rb
--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------
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:

<pre>
map.home '', :project_id => 'myproject', :action => 'show', :controller => 'wiki'
</pre>

Of course, you should put your project name instead of _myproject_
--------------------------------------------------------------------------------
Maybe this plugin will do what you want: "Landing Page":/plugins/landing_page
--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
What would be added to @routes.rb@ to land the users on 'view all issues' and optionally with a selected saved query?
--------------------------------------------------------------------------------
How to make default page as:

Home -> Projects -> *+View all issues+* ?

Redmine 2.1.0
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
Duplicate: #5232
Related to: #664, #6464
--------------------------------------------------------------------------------
Filou Centrinov wrote:
> Duplicate: #5232
> Related to: #664, #6464

Thank you for your pointing.

--------------------------------------------------------------------------------
Related to #429
--------------------------------------------------------------------------------
Filou Centrinov wrote:
> Related to #429

Thanks. Added relation.
--------------------------------------------------------------------------------
You can do exactly the same thing using "Redmine Start Page plugin":http://www.redmine.org/plugins/redmine_startpage

Install, and config [ contoller= my , action = page ]

--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------
> > @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.
--------------------------------------------------------------------------------
For a while, and working around, I changed the config/routes.rb:
root :to => redirect('relative URL')
--------------------------------------------------------------------------------
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

--------------------------------------------------------------------------------
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.

--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------
Did it worked at redmine version 3.4.5?
--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------
After making the change you will need to add

<pre>
# Just add this below 'root :to=> ...' line
match '/', :to => 'welcome#index', via: :all
</pre>

For more details you can follow http://www.redmine.org/issues/11284
--------------------------------------------------------------------------------
Any chance of adding this functionality?
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------


related_issues

relates,New,664,User can choose what page he want's to be Start page
relates,New,429,Merge Home and My page
relates,New,4349,Choose startpage in My account
relates,Closed,6464,Ability to set landing page after login
duplicates,Closed,5232,Show 'My page' after login

Admin Redmine さんがほぼ2年前に更新

  • カテゴリUI_10 にセット
  • 対象バージョンCandidate for next major release_32 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0