I have created my website and i only have the member functionality left now.
I can't seem to find anything about membercontrol in umbraco 7 (i'm pretty new at .net and razor) and i have tried to use the default cshtml template for login.
What i want to do is:
- membersarea (already created)
- assign role to members by default (so the membersarea can be protected by role)
- login page with redirect and login/logout in the menu
and that is pretty much it!
Step by step guide would be very much appreciated!
Umbraco 7 have some code snippets for making a login form, and one of the other razor snippets is login status. The login status, should give you the logon / signout functionality. I have made a screenshot.
You can find the snippets, no matter if you´re using the Partial views or Partial view macros
Hope this can help you further.
Member control
Hello
I have created my website and i only have the member functionality left now.
I can't seem to find anything about membercontrol in umbraco 7 (i'm pretty new at .net and razor) and i have tried to use the default cshtml template for login.
What i want to do is:
- membersarea (already created)
- assign role to members by default (so the membersarea can be protected by role)
- login page with redirect and login/logout in the menu
and that is pretty much it!
Step by step guide would be very much appreciated!
Best regards!
Hi Anders,
Have you seen this documentation about public access public http://our.umbraco.org/wiki/reference/umbraco-client/context-menus/public-access
Umbraco 7 have some code snippets for making a login form, and one of the other razor snippets is login status. The login status, should give you the logon / signout functionality. I have made a screenshot.
You can find the snippets, no matter if you´re using the Partial views or Partial view macros Hope this can help you further.
/Dennis
is working on a reply...