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.

General Questions /

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

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

How to make Registration and login+logout


Reply


2 Posts   470 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