Copied to clipboard

Flag this post as spam?

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


  • Tom 161 posts 322 karma points
    Mar 16, 2015 @ 16:26
    Tom
    0

    @currentPage.GetGridHtml() Documentation

    I am new to UmbracoCMS and just got done installing Umbraco 7.2 and the starter kit.

    I went through the Grid system (very nice) and see where the home page template has a line 

    @currentPage.GetGridHtml("content", "fanoe")

     

    I don't understand?  Is this an Umbraco object or an MVC object?

     

    Also, where can I find documentation on this?

     

    Thanks


    Tom

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 16, 2015 @ 16:28
    Jan Skovgaard
    0

    Hi Tom

    The Grid Editor is a property editor, which is based on AngularJS - There is some documentation about the grid editor here https://our.umbraco.org/documentation/using-umbraco/backoffice-overview/property-editors/built-in-property-editors-v7/grid-layout

    Hope this helps.

    /Jan

  • Tom 161 posts 322 karma points
    Mar 16, 2015 @ 18:13
    Tom
    0

    As I mentioned earlier I have download Umbraco and installed the starter kit.

    In the Home template I see @CurrentPage.GetGridHtml("content", "fanoe")

    Where is the definintion for the parameters as I don't have any intellisense either.

     

    Thanks

     

    Tom

     

     

     

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 16, 2015 @ 18:31
    Dennis Aaen
    0

    Hi Tom,

    The second paramter in this linie @CurrentPage.GetGridHtml("content", "fanoe") decides which grid framework it should use. As default the grid layout usees Bootstrap 3, but you can change it to use your own framework.

    Besides bootstrap 3 there is also support for Bootstrap 2. You can find the files in /Views/Partials/Grid in your file system of your Umbraco installation. And  I just discover the umbraco grid renders https://our.umbraco.org/projects/developer-tools/umbraco-grid-renders package

    If you install this package then you will have support for the Foundation 5 and Responsive frontend frameworks. So the fanoe, is a custom grid that Umbraco HQ has developed.

    On this uHangout episode the project manager from the Unbraco HQ Sebastiaan explains the Grid Layout. You can find the episode here: http://uhangout.co.uk/video/x9iOS2JWd2o But for you question try to see this https://youtu.be/x9iOS2JWd2o?t=18m20s

    Hope this helps,

    /Dennis

  • Tom 161 posts 322 karma points
    Mar 16, 2015 @ 19:06
    Tom
    0

    That works!  Many thanks!

Please Sign in or register to post replies

Write your reply to:

Draft