I'm using the path module. I set the front page for anonymous to redirect to "home" and set the front page for authenticated users (and admin) to redirect to "index". When not logged in, it correctly shows "home."
Right after logging in, though, it shows "home" one more time. After that, it works properly and shows "index" when the "home" menu is clicked. Upon logging out, "home" is correctly shown again. It fails only right after login.

I saw some discussion that seemed related to this in issue "Front_page redirect for Authenticated" (http://drupal.org/node/115865), but that was two years old.

Maybe Login Destination (http://drupal.org/project/login_destination) would be a workaround?

Comments

Dublin Drupaller’s picture

Assigned: Unassigned » Dublin Drupaller
Status: Active » Closed (won't fix)

hi Dave,

If you're redirecting anon users away from the front page (i.e. to 'home') you're also redirecting them away from the front_page functionality. In other words, if you use the front page settings text area for anon users instead of redirecting them away, they will see the front page for auth users when they login on the front page.

dub

J.B-2’s picture

Sheesh...

...I wish there was a comment in the 'Front Page for anonymous user.' section pointing that 'bugglet' out, it caused me a deal of pain trying to figure out where the problem was, it's understandable once explained but it's just not obvious at all (to me anyway).

JB

p.s. thanks for the handy module! ;-)

Dominion’s picture

@dublin drupaller

But If I use the text section only, I miss out on a lot of other features such as using panels for a home page for anon users.