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.

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.

Form Questions /

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

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


Go to End


3 Posts   2095 Views

Avatar
Prakashnalabolu

Community Member, 2 Posts

18 July 2013 at 6:05pm

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

Community Member, 2 Posts

25 July 2013 at 10:09pm

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

Community Member, 190 Posts

3 August 2013 at 10:41am

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/