I'm expanding my companies website with a new login system feature.
Our users/customers needs to be able to: Create, login, view data on a secret page for signed in users, etc.
I see that umbraco already has a login system built in. If I create a new partial view I can see there are different partials I can use under the Snippet dropdown.
My issue now is, how can I expand/edit the Model and Controllers which are associated with loginModel, registerModel etc.? (they're metadata classes)
I would like to add other properties to the Model which can be information that is related to the user. Is this even possible?
The umbraco cmsMember table, is even possible to add more columns to the table?
I need some advice on what options I have and if there are is a tutorial the describes a decent login system I would love to see that.
MVC and Umbraco is very new for me and I'm doing my best to get into it :)
This is about users. I want to create a login membership system in the current umbraco website I'm working on.
Umbraco has it's own built in membership provider where the code is added automatically and easily. My issue is though that I want to be able to add more properties than just Email, fullname and password.
Bulding a Login system in Umbraco & MVC
Hi
I'm expanding my companies website with a new login system feature. Our users/customers needs to be able to: Create, login, view data on a secret page for signed in users, etc.
I see that umbraco already has a login system built in. If I create a new partial view I can see there are different partials I can use under the Snippet dropdown.
My issue now is, how can I expand/edit the Model and Controllers which are associated with loginModel, registerModel etc.? (they're metadata classes)
I would like to add other properties to the Model which can be information that is related to the user. Is this even possible?
The umbraco cmsMember table, is even possible to add more columns to the table?
I need some advice on what options I have and if there are is a tutorial the describes a decent login system I would love to see that.
MVC and Umbraco is very new for me and I'm doing my best to get into it :)
Hi Saief,
have a look at the videos on Umbraco Tv ( you need to have a license to view it ):
http://umbraco.tv/videos/umbraco-v7/developer/fundamentals/member-api/introduction/
Also take a look at the Surface Controllers:
https://our.umbraco.org/documentation/reference/routing/surface-controllers
Basically you just create a new model called LoginModel and a Surface Controller called LoginSurfaceController.
In your controller you create action methods to display the login view, do the login and logout.
Hope this helps!
/Michaël
Hi Michael,
I will look into this right away, thanks!
Saief,
I'm not 100% sure this is what you need but Lee Kelleher has created a Bulk User Admin package that might get you closer to what you're looking for?
Hope this helps!
J
Hi Jon
This is about users. I want to create a login membership system in the current umbraco website I'm working on.
Umbraco has it's own built in membership provider where the code is added automatically and easily. My issue is though that I want to be able to add more properties than just Email, fullname and password.
Check out my blog post where I mention adding other properties to the members:
http://www.ucodebase.be/blog/import-members-into-umbraco-from-a-csv-file-using-the-memberservice/
/Michaël
No worries Saief, apologies if it wasn't what you needed! :-)
J
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.