Copied to clipboard

Flag this post as spam?

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


  • Binyam 4 posts 24 karma points
    Mar 19, 2016 @ 23:41
    Binyam
    0

    Display User Selected by User Picker (Umbraco.UserPicker)

    How can I show user selected by content editor using User Picker on Template? Just like I did for image like this @Umbraco.Media(newsItem.thumbnail).Url

  • Aristotelis Pitaridis 84 posts 402 karma points
    Mar 20, 2016 @ 15:04
    Aristotelis Pitaridis
    0

    Try this.

    var member = new umbraco.cms.businesslogic.member.Member(CurrentPage.publisher);
    string PublisherName = member.GetProperty<string>("firstname") + " " + member.GetProperty<string>("surname");
    
Please Sign in or register to post replies

Write your reply to:

Draft