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.

Archive /

Our old forums are still available as a read-only archive.

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

Member area - Customized Member login form


Go to End


3 Posts   4094 Views

Avatar
dille4

Community Member, 14 Posts

30 January 2008 at 2:13am

Edited: 30/01/2008 11:27am

I hope someone had some experience with a member login form. My aim is to insert members (First name, Last name, email and password) into the database by hand.

Once a user click to open a page this page should be redirected to a login form where email and password (just like the CMS login) gets checked against the database entries. If all is good the user will finally see the requested page.

I'm still not really familiar with the syntax especially to show dbfields on a form. I have tried that in pure PHP but SS syntax is a bit different.

If someone has done something before I would appreciate to see the code for that.

Thanks,
Tom

Avatar
liveyoungmedia

Community Member, 4 Posts

27 November 2008 at 6:28am

Did you ever get this working on your own? I'd love to know how u did it.

Avatar
Carbon Crayon

Community Member, 598 Posts

27 November 2008 at 7:17am

isn't this just a matter of setting the permissions on the page?

If you make a new user group under security and then set a certain page to be only viewable by that group then it will take you to a login form if you are not already logged in.

Is that what you mean?