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 there,
Is Contour member tools compatible with umbraco 4.11.1?
thanks
mkariti
Hi,
Not sure if member tools is compatible but one thing we can be sure of is the latest version of contour from the videos we saw is a complete blast and more flexible.
Havent tried it yet but you should be able to use it for members section as well.
Comment author was deleted
Yup don't see why it shouldn't work with 4.11.1
There is also an example of using code first and creating member login/registration/profile/change password http://www.nibble.be/?p=205
Hi Tim,
Ok so Im trying to implement the code first for Login form but with no success.
I modified the following form as I need to use user name and not Email addess for login:
[Form("Member/Login", ShowValidationSummary = true, MessageOnSubmit = "You are now logged in")]
public class Login : FormBase
{
[Field("Login", "",
Mandatory = true)]
public string Name { get; set; }
Type = typeof(Password),
public string Password { get; set; }
public override IEnumerableValidate()
var e = new List();
if(Member.GetMemberFromLoginName(Name) == null)
e.Add(new Exception("No member found with this Name"));
else if (Member.GetMemberFromLoginNameAndPassword(Name, Password) == null)
e.Add(new Exception("Incorrect password"));
return e;
}
public override void Submit()
var m = Member.GetMemberFromLoginNameAndPassword(Name, Password);
if (m != null)
Member.AddMemberToCache(m);
Now It created anothe folder in Contour called Member and with a form child called Login.
This seems to do nothing and I cant debug it as well.
Also, I cannot delete this form or its parent folder.
Any Idea?
Thanks
Are you outputting the form with the razor macro?
Nop. control.
yeah it's only supported by the razor one, the usercontrol one is getting obsolete
Ok I tried the razor and its only add to entry with no login.
Ive also managed to delete it.
Also, I would prefer not to add it to entries as It reveal the psw
Not sure what just happened but I changed the class from Class library to Internal class and it works!
Many thanks
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Contour member tools compatible with umbraco 4.11.1?
Hi there,
Is Contour member tools compatible with umbraco 4.11.1?
thanks
mkariti
Hi,
Not sure if member tools is compatible but one thing we can be sure of is the latest version of contour from the videos we saw is a complete blast and more flexible.
Havent tried it yet but you should be able to use it for members section as well.
Comment author was deleted
Yup don't see why it shouldn't work with 4.11.1
Comment author was deleted
There is also an example of using code first and creating member login/registration/profile/change password http://www.nibble.be/?p=205
Hi Tim,
Ok so Im trying to implement the code first for Login form but with no success.
I modified the following form as I need to use user name and not Email addess for login:
[Form("Member/Login", ShowValidationSummary = true, MessageOnSubmit = "You are now logged in")]
public class Login : FormBase
{
[Field("Login", "",
Mandatory = true)]
public string Name { get; set; }
[Field("Login", "",
Type = typeof(Password),
Mandatory = true)]
public string Password { get; set; }
public override IEnumerableValidate()
{
var e = new List();
if(Member.GetMemberFromLoginName(Name) == null)
e.Add(new Exception("No member found with this Name"));
else if (Member.GetMemberFromLoginNameAndPassword(Name, Password) == null)
e.Add(new Exception("Incorrect password"));
return e;
}
public override void Submit()
{
var m = Member.GetMemberFromLoginNameAndPassword(Name, Password);
if (m != null)
Member.AddMemberToCache(m);
}
}
Now It created anothe folder in Contour called Member and with a form child called Login.
This seems to do nothing and I cant debug it as well.
Also, I cannot delete this form or its parent folder.
Any Idea?
Thanks
mkariti
Comment author was deleted
Are you outputting the form with the razor macro?
Nop. control.
Comment author was deleted
yeah it's only supported by the razor one, the usercontrol one is getting obsolete
Ok I tried the razor and its only add to entry with no login.
Ive also managed to delete it.
Also, I would prefer not to add it to entries as It reveal the psw
Not sure what just happened but I changed the class from Class library to Internal class and it works!
Many thanks
mkariti
is working on a reply...