I am using the above facility. I checked the box 'redirect your site HOME links' and specified a page here. I have then specified a different front page for anonymous users. This is because I want a splash page where they have to log on to the site. When I go to the url...I get the splash page. I logon and therefore become an authenticated user. This takes me to the home page to which it says 'Access Denied' and I have to log on again. I dont want to have to log on to the site a second time.
Comments
Comment #1
heleng commentedComment #2
heleng commentedComment #3
looklively commentedHi,
I am having the same problem ... but in D5x.
I have redirected my site HOME links to an authenticated users only page.
When user tries to login, they are sent to http://website/?=user to login again.
Can anyone assist, please?
Comment #4
scalp commentedHaving the same problem. I have a view set up as my front page for authenticated users and using front page module's body text box to enter text to show to anonymous users. After a user logs in they are shown the view page as they should, but they are still not logged in.
Comment #5
scalp commentedI've posted this on your other post heleng, but figured I'd post it here too for anyone following.
I figured it out for my purposes, hopefully it will work for yours. First make sure that correct permissions are set for accessing advanced front page settings (I needed anonymous and authenticated to be checked sounds like you may too). This could solve your access denied issue, but you'll still have users having to log in a second time. This does seem to be a bug. I'm guessing it has to do with /front_page not being fully integrated with the site so the login there doesn't actually log you in. Another issue I was seeing with the overide was when a logged in user logged out they were taken to the page designated as the overwritten home page. This is a problem if you're trying to hide that page from anonymous users. For these two reasons I've abandoned the overide function. I was able to get things to work by setting up the "Front page for anonymous user". For your purposes it sounds like you could probably set the drop down selection to "redirect" then specify a page you've created. Then I set up "Front page for authenticated user". Set the drop down to "redirect" and specify the page you want shown. This will now be the home page when a user logs in and also acts as a redirect for when they click "home". This was fine for my purposes, but if you want to have a seperate page for what people see after they log in compared to what they see when they click "home" this may not work. For that you may want to try a module called Login Destination. This way you could setup the "Front page for authenticated user" to be what you want the "home" link to point to, but you could setup Login Destination to point people to where you wanted upon login. Hope this helps!
Comment #6
Dublin Drupaller commented@heleng:
If you're redirecting anonymous users away from the front_page (e.g. redirecting them to a different node) you lose the functionality of the front_page.module because you are also redirecting away from the module.
In other words..
Step 1. use the anonymous user text area provided by the front_page.module for your splash page.
Step 2. use the authenticated user text area provided by the front_page.module for your normal front page.
you shouldn't need to redirect home links using the above steps..as authenticated users will not see the anonymous front page once they're logged in.
hope that helps.
post back up here if you're still having problems or alternatively use my contact form to send me an email with a temp admin login so I can have a look at how you have setup your front_page.
dub
Comment #7
looklively commentedThanks Dub,
That showed me the way!
Comment #8
Dublin Drupaller commented