Copied to clipboard

Flag this post as spam?

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

  • jeff mayer 122 posts 199 karma points
    Apr 22, 2014 @ 15:20
    jeff mayer

    Great work Jeavon on the converters, can I integrate with Archetype?

    Hello Jeavon,

    Trying to integrate your converter with Archetype. Any suggestions here on this?

    Here's a sample below of what I am trying to do

       @using OurUmbraco.PropertyConverters
        var typedRelatedLinksConverted = fieldset.GetPropertyValue<RelatedLinks>("BlockItemLink");
        if (typedRelatedLinksConverted.Any())
            <ul class="relatedlinks">
                @foreach (var item in typedRelatedLinksConverted)
                    var linkTarget = (item.NewWindow) ? "_blank" : null;
                    <li> <a href="@item.Link" target="@linkTarget"><button class="btn btn-default"> <i class="fa fa-  external-link-square"></i> @item.Caption</button></a></li>
  • Jeavon Leopold 3042 posts 13382 karma points MVP 8x admin c-trib
    May 01, 2014 @ 12:47
    Jeavon Leopold

    Hi Jeff,

    Sorry I missed this one, did you sort it out or should I take a look?


Please Sign in or register to post replies

Write your reply to: