Project

General

Profile

Actions

Feature #5232

closed

Show 'My page' after login

Added by Robert Schneider over 14 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Start date:
2010-04-01
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate

Description

It would be also nice if there would be a user setting that allowes one to get to the My page after login, instead of the Home page.

Generally, a better My page would be nice. With more configuration options. I would be happy if I could see all tickets (observed, assigend to, ...), not only the first 10.


Files

user_selects_default_login.diff (2.47 KB) user_selects_default_login.diff Patch Savannah Durbin, 2010-05-14 00:54

Related issues

Is duplicate of Redmine - Feature #1233: change default homepage to My pageNew2008-05-13

Actions
Actions #1

Updated by jessie wang over 14 years ago

same question!

Actions #2

Updated by Savannah Durbin over 14 years ago

I created a patch for this issue. It doesn't make the "My Page" any prettier, but in "My Account" it allows you to choose whether you would like your homepage to be My Page, or the default index page. Feel free to try it out!

Actions #3

Updated by Eraldo Girardi over 14 years ago

Savannah Durbin wrote:

I created a patch for this issue. It doesn't make the "My Page" any prettier, but in "My Account" it allows you to choose whether you would like your homepage to be My Page, or the default index page. Feel free to try it out!

Thanks, this is very useful.
How this setting get stored in the database?
I don't see any "default_homepage" in the users table.
I'm sorry if I'm asking for a dumb question, I'm not a ruby developer.

Actions #4

Updated by Toshi MARUYAMA almost 12 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

As in #1233#note-20, this issue is duplicate with #1233.

Actions #5

Updated by Zack s almost 10 years ago

In redmine 2.5.x .. config/route.rb

# root :to => 'welcome#index', :as => 'home'
root :to => '', :controller => 'my', :action => 'page', :as => 'home'
Actions #6

Updated by Jean Louis over 9 years ago

Zack s wrote:

In redmine 2.5.x .. config/route.rb

# root :to => 'welcome#index', :as => 'home'
root :to => '', :controller => 'my', :action => 'page', :as => 'home'

doesn't seems to work on redmine 3.1.0 (internal error) then I modify only with the begin of your patch,
in "app/controllers/account_controller.rb" :

= call_hook(:controller_account_success_authentication_after, {:user => user })
- redirect_back_or_default my_page_path
+ redirect_to :controller => 'my', :action => 'page'

Actions #7

Updated by Rafał Kołodziejczyk over 9 years ago

Jean Louis wrote:

doesn't seems to work on redmine 3.1.0 (internal error) then I modify only with the begin of your patch,

This work for me:

root :to => 'my#page', :via => :get, :as => 'home'

Actions #8

Updated by Muzaffer Dağlıoğlu about 5 years ago

my redmine version 4.0.5

file path
"..\redime\htdocs\app\controllers\account_controller.rb"

code is working...

    call_hook(:controller_account_success_authentication_after, {:user => user })
    redirect_to :controller => 'my', :action => 'page'
Actions

Also available in: Atom PDF