I was having a look the .cshtml files (Base.cshtml, Embed.cshtml, Macro.cshtml, Media.cshtml, Rte.cshtml and Textstring.cshtml) under Partial Views>>Grid>>Editors folder in Settings section.
Also i find two files named (Bootstrap2.cshtml and Bootstrap3.cshtml) under Partial Views>>Grid folder in Setting section.
I am not sure what their purpose is and how they could be useful for development to developer.
Hi Naman!
They are used to render the grid in the fontend.
Have you had a look at the Grid yet? Try and create a document type with a property with the grid datatype. Then in your view, you write:
@CurrentPage.GetGridHtml("aliasForProperty")
Thats all you have to think about out of the box, you´ll dont ever have to change anything in the /Partials/Grid folder.
As Dennis mentions this is for the grid layout in Umbraco. If you want to know more about the grid layout, take a look at this written and video documentation.
Understanding Umbraco Structure
Hi All,
I have started learning umbraco using MVC.
I was having a look the .cshtml files (Base.cshtml, Embed.cshtml, Macro.cshtml, Media.cshtml, Rte.cshtml and Textstring.cshtml) under Partial Views>>Grid>>Editors folder in Settings section.
Also i find two files named (Bootstrap2.cshtml and Bootstrap3.cshtml) under Partial Views>>Grid folder in Setting section.
I am not sure what their purpose is and how they could be useful for development to developer.
Please help me on this.
Hi Naman! They are used to render the grid in the fontend. Have you had a look at the Grid yet? Try and create a document type with a property with the grid datatype. Then in your view, you write:
Thats all you have to think about out of the box, you´ll dont ever have to change anything in the /Partials/Grid folder.
Good luck!
Hi Naman,
As Dennis mentions this is for the grid layout in Umbraco. If you want to know more about the grid layout, take a look at this written and video documentation.
https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/grid-layout
http://umbraco.tv/videos/umbraco-v7/implementor/fundamentals/grid-layouts/ (Requires that you have an Umbraco TV subscription)
Hope this helps,
/Dennis
is working on a reply...