Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, this is my first post and I'm an Umbraco newbie so please be gentle.
I'm just getting to grips with Public Access rights, members, groups etc but I can't work out how to create the actual login page for people to login at. I've been googling around and searching this forum for hours but with no joy. I just want to use the Umbraco membership management functionality (no integration with any "membership providers" (whatever they are) or anything fancy.
The logic for membership seems simple so I'm extra frustrated that I can't simplu create a login page.
Any help at all would be most welcome and I'm looking forward to really getting to understand Umbraco now we're moving all our coprorate sites onto it.
Hi there Mark,
I'm looking for the same - will let you know if i figure something out.
// Thomas G
This is very easy to do if you are familiar with ASP.NET membership controls. You can create a usercontrol using the Login control provided by ASP.NET and add it as a macro to your login page. There is a nice video on how to do this in Umbracos Videos if you are not familiar with this process.
I'm looking for the same issue. If any one figure out about it... Please share it urgently.
I turned up with a fix a week ago, but haven't had the chance to share it yet, so here goes!
As Marc Love says, you actually have to play with standard ASP.NET, using the login formular, (forgotten password and so on) from there. I hadn't really tried playing with ASP tools before - but i came up with a solution after some time playing around with it.
Insert this in your standard Umbraco template:
<form runat="server"><asp:LoginView ID="UmbracoLoginView" runat="server"><AnonymousTemplate><asp:Login id="Login1" runat="server"><LayoutTemplate> <label for="login">LOGIN<br /><asp:TextBox id="UserName" CssClass="fields" runat="server"></asp:TextBox></label> <label for="password">PASSWORD<br /><asp:TextBox id="Password" CssClass="fields" runat="server" textMode="Password"></asp:TextBox></label> <label for="remember"><asp:Checkbox id="RememberMe" CssClass="checkbox" runat="server"></asp:Checkbox>HUSK login & password</label> <p><asp:button id="Login" CommandName="Login" CssClass="submit" runat="server" Text="Login"></asp:button></p></LayoutTemplate></asp:Login></AnonymousTemplate> <LoggedInTemplate> Du er logget ind som: (Logged in as:) <asp:LoginName ID="LoginName1" runat="server" /> <asp:LoginStatus ID="LoginStatus1" runat="server" /> </LoggedInTemplate></asp:LoginView></form>
This will make users able to log into your Umbraco website - viewing access-restricted content; by using the membership groups inside your Umbraco installation.
Keep up!// Thomas G
Cheers for that Thomas. That template snippet was just what I was looking for and saved me a lot of time.
Pardon me for my questions, but I new to Umbraco..
Is this a user control (macro) that goes into a new template?
Do I also need to modify the master page too ?
also, should I be creating seperate user control (macro) for the registeration page ?
Thanks everyone. In the end we had to pay the devlopers to do this for us, but I will certainly try and give Thomas's solution a go on my personal Umbraco site.
hello team, i am also new to umbraco and i saw few videos for creating pages with user control but wat i need is i want to create a website without using user control. might be with custom control! but i want to a text box to be get edit in webpage... thanx in advance!!!
Thomas' solution worked great for me!Note: Inside <asp:Login>, you can also add:
<asp:Literal id="FailureText" runat="server" />
to display server-generated authentication failure messages.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted