It's my understanding that the basic functionality of this module in the case where, at login, an anonymous user becomes some sort of authenticated user is the following:

1. The setting for anonymous user is used initially.

2. After the user logs in at least two different things could happen depending on which type (e.g. themed, full, redirect) is used, assuming no other login modules are enabled:

1. If themed is used as the Select Type for the anonymous user, then after the user logs in she is instantly redirected to the appropriate url using the appropriate setting for her role.

2. If redirect is used as the Select Type for the anonymous user, then after the user logs in she will remain at that initial front page. However, the "home" link is now changed to the appropriate url for her so that when she clicks any home link, such as one anchored to the logo, she will go to that url. She will also go to that url anytime she returns to the site's front page, assuming she still appears logged in.

If the above is correct, I'd like to get this or some version of this into the documentation. I think it'd clear up some confusion on what exactly this module does.

Comments

timhilliard’s picture

Status: Needs review » Postponed (maintainer needs more info)

Hi, sorry for the delayed reply. I've been insanely busy recently so haven't had a chance to look at any issues.

As far as the module goes I think you have it slightly wrong. The module shows the customised front page whenever a user goes to the front page. It has nothing to do with when a user logs in. When they log in they will simply be changed to another user role. So if the user is not logged in (anonymous) and they go to the front page then it will show the options set for the anonymous user in the front page settings page. If the user is logged in and has no other roles set for them then the front page will display was is set in the authenticated user section of the front page settings page. If a user has a role set to them then it will show the options for that role.

Does this make any more sense?

Cheers,
Tim

chefbrody’s picture

Hi,

I'm sorry but I'm not sure to understand right:

can I use it to have a different front page between anonymous and authenticaded user?

If yes how it works?

thanks for your help.

schnelle02’s picture

"can I use it to have a different front page between anonymous and authenticaded user?
If yes how it works?"

Yes, this is precisely the purpose of this module.
Go to: Admininster --> Site Configuration --> Front Page

Here you will find the option to hardcode a new page for any role, or use the same for certain roles. It is very flexible. If you are looking to create a login page I posted my two cents here. The first code will call your user login block (Drupal 6.x), make sure you check the checkbox at the bottom for PHP code.

simon georges’s picture

Category: task » support
Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

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