Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions

anyone help me on register/ login form on the frontend and after login redirect to specific page in silverstripe 3.0 other than admin?


Reply

3 Posts   613 Views

Avatar
Prakashnalabolu

18 July 2013 at 6:05pm Community Member, 2 Posts

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.

Avatar
Prakashnalabolu

25 July 2013 at 10:09pm Community Member, 2 Posts

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

Avatar
Optic Blaze

3 August 2013 at 10:41am Community Member, 162 Posts

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/