In my website I need a user registration and login form for the users of mysite in the front end. After successful login redirect them to something like www.example.com/front-end/supplier/ and www.example.com/front-end/agent/ based on user type. How I redirect to this type of pages and how to implement this concept and how to create new pages in this way. Please help me out. Any useful information will be appreciable.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
and also I want to add a user type drop down box in the registration form and after selecting the user type save the registered user under that group. How can I do this? can you help on this and provide me any sample code
thanks
I have not tried this with SS3 yet. But i used this tutorial to do something similar in SS2.4. Check it out...hope it helps:
http://www.ssbits.com/tutorials/2009/custom-login-form-with-group-based-redirection/