Closed (fixed)
Project:
Front Page
Version:
6.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2011 at 18:45 UTC
Updated:
10 Feb 2013 at 09:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
beckyjohnson commentedIt 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?
Comment #2
timhilliard commentedcan you give me a bit more information? What settings are you using for the anonymous role? what is your default front page set to?
Comment #3
beckyjohnson commentedMy 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?
Comment #4
timhilliard commentedOk 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
Comment #5
timhilliard commentedHi 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
Comment #6
timhilliard commentedOhh 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 :)
Comment #7
beckyjohnson commentedSweet! Thank you for working on this. I will review it in the morning and post back.
Comment #8
beckyjohnson commentedOK 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.
Comment #9
jmbouvier commentedHi 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
Comment #10
timhilliard commentedHI 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
Comment #11
wayne57 commentedI 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.
Comment #12
timhilliard commentedHi guys, just released 2.0-rc1 for d6 and d7. This should fix your problems.
Cheers,
Tim
Comment #13
wayne57 commentedTim
That worked a treat, many thanks.
Comment #14
jmbouvier commentedHello 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
Comment #15
timhilliard commentedCan 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
Comment #16
jmbouvier commentedI'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
Comment #17
timhilliard commentedAhh 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
Comment #18
simon georges commented