Separate Homepage for each user
kfandrich - August 13, 2009 - 19:30
I would like each user to have their own homepage with links that apply to them and only them. By this I mean that each user should be directed to their own separate node upon login and back to that same node when they click the home link or some other "my page" link. I have used the login destination module with a per user profile link to successfully direct to a separate node upon login, but I'm having trouble creating a link to get the user back there from wherever else they have gone. I have seen a variety of posts trying to do something similar to this, but I haven't found a solution.

Would front help?
Would front help? http://drupal.org/project/front
MySite sounds like it could
MySite sounds like it could work, but it's not available for D6.
Panels might also be able to do it.
In either case, what you would be doing is re-directing the user to a page upon login, and that page shows information that pertains to that user.
Then again, I could be misunderstanding what you are trying to say.
-Corey
- Corey
Solved
Thanks for all the suggestions! I finally got this all working. Here is what I did:
First, I enabled the Path module, so that custom URLs can be specified per node. This enabled me to create home pages at the address user/uid/home (ex. user/3/home).
Then I installed the Me Aliases module and checked the option for "redirect to uid" (it didn't work for me without this checked). This allowed links to be created to user/me/home which would translate back into user/uid/home. One mistake I made was to enter "me" in the URL when I was creating pages. You have to enter the uid number when creating URLs as the Me functionality doesn't work in reverse.
From there I installed the Front Page module which I used to redirect all the home links to user/me/home.
Then, I installed the Login Destination module which allowed me to redirect all users to user/me/home once they log in.
And Lastly, I added an item into the navigation menu for user/me/home so that users can easily return to their home page.
It all works like a charm!
_
If you wanted to simplify this a bit I'm not sure you need the front and login_destination modules if all you're doing is redirecting. You could probably get by with just core triggers and actions, or perhaps the rules module (which is infinitely more flexible than front and login_destination combined).
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.