Hi great module,

I am not sure if I have missed something, so before I went ahead I thought I would ask.

I want my users after logging in be redirected to there own page. Is this working ? I was thinking of looking into views or another login redirect module. Has anyone had any experience with this yet and if so any advice they can offer.

Thanks,

Comments

Sinan Erdem’s picture

You can use the Rules module to define an action after a user logging in. The log in page url can be the same with the homebox page url (under edit menu of a homebox).

But I have some doubts about redirecting a user to a certain page after logging in. Maybe the user is trying to access a specific page (for example from a URL in a received e-mail). The general behavior should be: after logging in, the user should see the page he wants to enter. But you are sending him to his dashboard.

You decide...

jeremiah.snapp’s picture

We use the drupal project 'Login Destination'

http://drupal.org/project/login_destination

Just check the 'Preserve destination' box and the user will go to whatever page they were intending to go to.

Select the 'Static URL' option and put your homebox url path in the 'URL' textarea. That way if the user is just logging in and not going to a specific page they will automatically be taken to their homebox page.

This works very well for us.

If you really want to make some complicated redirections you can actually use php code in those text areas and make your redirections conditional.

Sinan Erdem’s picture

Seems very reasonable... Thank you for sharing.

BigEd’s picture

Guys thanks for your help, I was thinking about the redirect as well but I am glad I asked.

Its people like you that make this community great.

I will let you know how it goes.

BigEd’s picture

Yes this worked well Thanks,

BigEd’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.