Hello all,

I have been trying to set the users home page as users dashboard.

I have been playing with the Front Page module and it seem to be working fine, but I am not sure if I should be using the Themed, Alias or Redirect option. It seems like I don't know the wildcard expression for this.

What I have tried so far:

Alias

user/20/dashboard - Works, but is taking me to user 20 - I want the signed in user
user/*/dashboard - Doesnt work
%user/dashboard - Doesnt work
user/%user/dashboard - Doesnt work

Redirect

https:/www.sitename/user/*/dashboard - Doesnt work
https:/www.sitename/%user/dashboard - Doesnt work
https:/www.sitename/user/%user/dashboard - Doesnt work

Themed

I think I saw somewhere a php code that redirects to a particular place - can't find the filter anywhere now

Suggestions

Thanks for your help

Comments

Chasen’s picture

If you're using Views pages, I'm pretty sure the wildcard is a % so maybe try that in place of the asterisk?

Regarding login control, I've used both Login Toboggan and Login Destination successfully (for different reasons) in the past and you can fully control the login and logout process for the user - including advanced functions like Rules integration.

You shouldn't need any custom code for what you need as the modules will do the trick