Hi,
I'm playing around with the new 7.2 starter kit and really like the grid layout.
I'd like to use an alternative grid to bootstrap and can see how to implement it from the starter kit. I'm getting a little confused though with the partial view (I'm one of those designer types).
I'm using a grid system that uses text value rather than a numerical value for the column count.
7.2 Grid Layout - Custom Grid
Hi, I'm playing around with the new 7.2 starter kit and really like the grid layout.
I'd like to use an alternative grid to bootstrap and can see how to implement it from the starter kit. I'm getting a little confused though with the partial view (I'm one of those designer types).
I'm using a grid system that uses text value rather than a numerical value for the column count.
Is there a simple way to change [email protected] & [email protected] into a string value?
Thanks
Hi Martin
You should be able to change it - But unfortunately I don't have 7.2 open in front of me currently. However I think you can benefit from reading this documentation here http://our.umbraco.org/Documentation/Using-Umbraco/Backoffice-Overview/Property-Editors/Built-in-Property-Editors-v7/Grid-Layout-Best-Practices and here http://our.umbraco.org/documentation/using-umbraco/backoffice-overview/property-editors/built-in-property-editors-v7/grid-layout
Hope this helps :)
/Jan
That would require a little bit of "scary" :) code as you'd need to make a little helper method that converts the integer value on the column to a text value, similar to this: http://stackoverflow.com/questions/2729752/converting-numbers-in-to-words-c-sharp
Thanks guys, scary code indeed.
I've got a helper for converting integer into text, but i'm struggling to get the grid count inside @numberWords().
is working on a reply...