Copied to clipboard

Flag this post as spam?

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


  • Asger 25 posts 171 karma points
    Jun 08, 2016 @ 17:36
    Asger
    0

    Issue using the Grid layout.

    Hi Umbraco Forum

    I am new to umbraco, but i really like it. I am having trouble using the 'grid layout' system. I tried it earlier on a starter kit with no problem, but now that im using it on my own site, it wont wok.

    I have set up the data type, added the property to the document type and added content. I then called the @Umbraco.Field("gridLayout") in my template.

    When i go to the live site, it just writes out the code, without rendering any content. EDIT: i have now used the @CurrentPage.GetGridHTML to call the content. It does not display code anymore, now it just displays nothing at all in the frontend.

    I hope someone can help me out.

    thanks :)

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jun 08, 2016 @ 17:59
    Dennis Aaen
    100

    Hi Asger and welcome to our.

    What if you do something like this.

    @CurrentPage.GetGridHtml(Html, "gridLayout")
    

    Does this make any difference. I assume that you are using the latest Umbraco version 7.4.3. You can find the documentation on how to render the grid in a template here.

    https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Grid-Layout/Render-Grid-In-Template

    Hope this helps,

    /Dennis

  • Asger 25 posts 171 karma points
    Jun 09, 2016 @ 06:54
    Asger
    0

    Hi Dennis.

    Thank you very much, that did the trick.

    Best regards.

Please Sign in or register to post replies

Write your reply to:

Draft