Copied to clipboard

Flag this post as spam?

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


  • Tove 15 posts 35 karma points
    May 26, 2015 @ 12:25
    Tove
    0

    Content not rendering frontend

    Hi I have created a content following the code sample in the documentation following the latest upgrade 1.0.5

    I manage to get the content to render in the grid, backend, but there is mothing to be seen on the frontend.

    Any ideas on why?

    This is a sample of my code in the file/views/partials/grid/editors/editorname.cshtml:

    @inherits UmbracoViewPage<Lecoati.LeBlender.Extension.Models.LeBlenderModel>
    @foreach (var item in Model.Items)
    {
    <div class="services">
    <ul class="service-container">
    <a href="@Umbraco.TypedContent(item.GetValue<string>("link1")).Url">
    <li class="item col-md-3 col-sm-6"><div class="service-icon"><span aria-hidden="true" class="li_truck"></span></div>
    <p class="item-title">@item.GetValue("title1")</p>
    <p class="item-description">@item.GetValue("info1")</p>
    </li></a>
    </ul></div>
    }
    

    Would be so greatful for some help :-) Best regards /Tove

  • Tove 15 posts 35 karma points
    May 26, 2015 @ 13:43
    Tove
    0

    HI this is solved. I had other files tht probavly were n conflict with the namespace. I cleaned up and it worked :-)

Please Sign in or register to post replies

Write your reply to:

Draft