Jump to:

10929 Posts in 2613 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Redirecting users after login

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 596 Views
  • Chipie
    Avatar
    Community Member
    16 Posts

    Redirecting users after login Link to this post

    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

  • Chipie
    Avatar
    Community Member
    16 Posts

    Re: Redirecting users after login Link to this post

    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

    596 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.