I only need this module to give the anonymous users a separate front page and my themed front--page.tpl.php is for everyone who is logged in. However, when I login, I get a 404 error instead of my templated out version. I have all logged in users set to "skip". Here is a screenshot.

Comments

beckyjohnson’s picture

It changes the path of logged in people to http://www.mysite.com/front_page. I thought if you said skip, it would give you the default front page. What am I doing wrong?

timhilliard’s picture

Status: Active » Postponed (maintainer needs more info)

can you give me a bit more information? What settings are you using for the anonymous role? what is your default front page set to?

beckyjohnson’s picture

My default front page is set to /node . I tried to set it to front_page and I received a configuration error. I set anonymous to Themed and the anonymous front page seems to work. However, logging in, it re-directs to mysite.com/front_page. I am using logintoboggan but I don't think it's interfering and I don't have any URL Redirects going on.

So, when I login, gives me a page that has a 404 error and shows other blocks that I have programmed to show up on every page. I get a login successful message too.

I have the admin role and it's set to "skip" in the front page settings page.

Does this help?

timhilliard’s picture

Ok I've figured out what's going on now. It has to do with the login block and not the login page specifically. The problem is that when you use full or themed the page is actually 'front_page' although you are not actually setting it to that. The module tells it that is what it needs to load. The problem with this is that the blocks now see the home page as also 'front_page' rather than and empty string so it redirects the form to 'front_page' now. I will try and write a patch for this and let you know how it goes.

Cheers,
Tim

timhilliard’s picture

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

Hi Becky,

I've patched this bug now and it's now committed to the dev branch. Could you download the dev release and test this for me. Once tested I will probably release a new alpha. You may need to wait an hour or so for the next dev release to package, just check the timestamp of the release notes and it should say 13th april.

Thanks,
Tim

timhilliard’s picture

Ohh and also if you know how to use git and don't want to wait then you can pull the latest dev version straight away using that :)

beckyjohnson’s picture

Sweet! Thank you for working on this. I will review it in the morning and post back.

beckyjohnson’s picture

OK I have tested the logging in and logging out. It seems to work just fine. I did not receive any 404 page errors and the content for each role showed up perfectly.

jmbouvier’s picture

Hi there,

I get a 404 error too using 7.x-2.0-alpha2

I've got an HTML page with a flash animation in a folder on the root called splash http://www.outdowns.co.uk/splash/splash.html
My flash has a skip button which is targeting my normal URL for the home page - http://www.outdowns.co.uk/.
I used alias and entered - 'splash/splash.html'

I only want anonymous users to see it.

Maybe it's obvious but I can't see where the documentation is telling me how to set this up.

Be great to get some tips

Cheers,

JBoo

timhilliard’s picture

HI JBoo, as mentioned above this has already been committed to dev, however it hasn't been released yet. I will be packaging 7.x-2.0-beta1 in the next few days which will have the fix.

Cheers,
Tim

wayne57’s picture

Version: 7.x-2.0-alpha2 » 6.x-2.x-dev

I am getting the same result. Whenever a user (any role) logs in he is taken to sitename/front_page instead of sitename/
This worked ok in the 6.1x versions. my site settings front page is set to node, but all my home breadcrumbs do work, that is take me to sitename/.
I have uploaded the 6.x-2.x-dev, but still have the same behaviour.
Is there a quick workaround? I am ok with changing some code in a file if I know where to look, but can wait for an update if needed.

timhilliard’s picture

Hi guys, just released 2.0-rc1 for d6 and d7. This should fix your problems.

Cheers,
Tim

wayne57’s picture

Tim
That worked a treat, many thanks.

jmbouvier’s picture

Hello Again,

I can't get the alias option to work - themed and full do work well with just TEST in the HTML box. I then tried it with my flash with an absolute URL but it can't see the swf, only the HTML surrounding it.

Redirect worked as it should and my full splash page works beautifully but I'm assuming I want to use the alias option because I don't want to affect my SEO for the front page.

When I try alias with the same settings as the redirect which works, I get

"Page not found

The requested page could not be found."

Any advice?

JBoo

timhilliard’s picture

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

Can you attach a screenshot of your front page settings with the roles expanded. This should give me a better understanding of where you might be going wrong.

Cheers,
Tim

jmbouvier’s picture

I'm using the redirect home page too, as attached. This set up works great with redirect, when I change it to alias it gives the error.
I'm using Anonymous only.

Cheers,

JBoo

timhilliard’s picture

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

Ahh ok I see now. The problem is that alias does not work with files, it works with drupal paths. Using files is a feature I'm playing with at the moment and may well add in later. For now you will have to put the content from the file into the text area and use full to display it. Also make sure your filter option doesn't remove anything that you don't want it to.

Cheers,
Tim

simon georges’s picture

Assigned: timhilliard » Unassigned
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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