Copied to clipboard

Flag this post as spam?

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


  • Petr Snobelt 923 posts 1534 karma points
    Nov 15, 2009 @ 18:30
    Petr Snobelt
    0

    Package with MemberType

    Hi,

    is it possible to create package, which create MemberType? I try create package without luck :-(

    Thanx

  • Chris Houston 533 posts 977 karma points MVP admin c-trib
    Nov 15, 2009 @ 18:40
    Chris Houston
    0

    Hi Petr,

    I think you will need to write your own package action to create MemberTypes, if you do, it would be great if you could submit it as a patch to the Package Action Contrib project over on Codeplex.

    Cheers,

    Chris

  • Petr Snobelt 923 posts 1534 karma points
    Dec 08, 2009 @ 21:30
    Petr Snobelt
    0

    Is there anyone, how know how to create memberType programatically?

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Dec 08, 2009 @ 21:43
    Dirk De Grave
    1

    Yup, I do... 

    MemberType.MakeNew(User u, string text);

    (think you can find this in the online docs 

    Hope this helps.

    Regards,

    /Dirk

     

  • Petr Snobelt 923 posts 1534 karma points
    Dec 10, 2009 @ 07:04
    Petr Snobelt
    0

    Thank you Chris and Dirk, I create class and simple page which allow import Member Type.

    Details here http://our.umbraco.org/wiki/reference/api-cheatsheet/working-with-members/membertypes-creator-and-createmembertype-page

     

    Petr

  • 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.

Please Sign in or register to post replies