Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Magnus Olsson 25 posts 71 karma points
    May 05, 2013 @ 15:46
    Magnus Olsson
    0

    Syncing MemberTypes (and Views)

    Hi,

    I have been using the 1.2 uSitebuilder for a previous project and preparing for my next one I was trying out this promising package. However I stumbled into two things:

    * reusing the style of my code, it doesnt seem to sync my MemberType classes. Is this because it's just not implemented or has something changed that makes my old declarations not work with new package?

    I am using the style:

    [MemberType(Name = "XFBall Member"Description = "Default user type for a registered XFBall member")]
    public class XFBUser : MemberTypeBase
    {
    
        public XFBUser(string loginNamestring emailstring password)
            : base(loginNameemailpassword)
        { }
    
        [MemberTypeProperty(UmbracoPropertyType.TextstringAlias = "activation_code"Name = "Activation code"Description = "Code for validating registration"Tab = "Account")]
        public string ActivationCode { getset; }
    
    }

     

    The other Thing I couldn't work out is creating (and syncing) Views. I tried to get the latest uSitebuilder by checking out http://usitebuilder.codeplex.com/SourceControl/network/forks/StephenWRogers/uSiteBuilder and building that.. but I just cant get it together.

    Any pointers would help as I like uSitebuilder a lot and with this Admin it seems even better.

     

    Thanks in advance

    /Magnus Olsson

     

     

Please Sign in or register to post replies

Write your reply to:

Draft