10446 Posts in 2223 Topics by 1719 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 304 Views |
-
Redirecting users after login

17 November 2011 at 8:09am
Hi Everyone, I have installed the member profile page module.
When a user who is in the member group succesfully log in they are automatically directed to the 'Page Not Found'.
If they click on any link after that then they can successfully navigate the site and edit their profile. So the login was a success!
I have made some changes to the code to enable group redirection as per the site; http://www.ssbits.com/tutorials/2009/custom-login-form-with-group-based-redirection/ but although i can see the 'select a page to redirect to' option within the security tab and I can click on the 'About Us' page, users are still directed to the same 'Page not found' after login.Anybody got any ideas?
I am new to Silverstripe and coding so it could be something very simple that I am missing!
Thanks
Chipie
-
Re: Redirecting users after login

17 November 2011 at 10:15pm
I dont know if this helps but I installed Firebug and it highlights the error after login and gives me the url it is trying to find which is:
http://localhost/caseproject//caseproject/about-us/
So it looks as if it is generating caseproject twice before adding the page that I want to got to 'About-Us'.Any idea what could be doing this? Or where I should be looking?
Thanks
Chipie
| 304 Views | ||
|
Page:
1
|
Go to Top |

