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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

How to make Registration and login+logout


Go to End


2 Posts   2385 Views

Avatar
garlicbread

Community Member, 2 Posts

18 October 2013 at 9:54pm

Hi,

I'm just new for SS(3). Um... is that possible to make Registration and login+logout functions by just creating .php and .ss files? (any tutorial?) or if using Member Profile Pages Module is suggested, could someone tell me how to use it to make Registration and login+logout functions? because at this moment, I can create new member pages through is but I don't know how to achieve what I want(Registration and login+logout ).

Many many thanks

Avatar
Bambii7

Community Member, 254 Posts

21 October 2013 at 12:31pm

Hi garlicbread.

I'm not sure about the registration form. You might need to build that your self.

Silver Stripe comes shipped with a login form. All you need to do is add $LoginForm to your .ss template. But you may want to redirect the user on login, in which case you'll need another custom form.

Heres one tutorial http://tamethebackbutton.blogspot.com.au/2009/09/customize-your-own-silverstripe-login.html

I would also check out the SS forms docs http://doc.silverstripe.com/framework/en/topics/forms