The Umbraco grid on steroids - uWestFest 2017
- 7. WHAT IS THIS
GRID THING?
• Better editor experience
• Dynamic layout
• Design responsibility & trust
- 9. • Mix between hardcoded and
dynamic template
• Document type specific grid
• What the starter kit does
MULTIPLE GIRD
& ROW LAYOUTS
- 11. • Like property editors
• package.manifest
• editor.html
• editor.controller.js
• editor.cshtml
CUSTOM
GRID EDITOR
- 14. CUSTOM GRID EDITOR
PROS
• Amazing editor experience
• Need to know AngularJS
CONS
• Time consuming = more expensive
• Need to know AngularJS
- 18. LEBLENDER EDITOR
PROS
• UI for creating Grid Editors
• Works with most data types
• Easy to have/make editor preview
mode
CONS
• Doesn’t work with NestedContent
• Model is LeBlenderModel
• Editor UI is limited to right-hand side
• No data validation
- 19. DOC TYPE GRID
EDITOR
• Package by Matt & Lee
• Just document types
• Tabs, data types, description,
validation etc.
- 23. DOC TYPE GRID EDITOR
PROS
• Just Umbraco document types
• Model is IPublishedContent
• Umbraco 7 UI
• Easy to make editor preview mode
CONS
• Editor UI is limited to right-hand side
• Manual change grid.editors.config.js
- 25. GRID SETTINGS
& STYLES
• Edit row & cell settings
• Settings = HTML attributes
• Styles = inline styles
• 10 prevalue editors
• Limit to rows/cells/row
names
- 30. GRID EDITORS
• Image grid editor
• Doc Type Grid Editor
• Why “replace” Umbraco’s
image grid editor?
- 37. LESSONS
LEARNED
• Use the grid when it make sense
• Keep it simple!
• Doc Type Grid Editor is easy and versatile
• Use row/cell settings – not styles
• Multiple grid and row layouts is time consuming
• 3 different content ways
• Hardcode
• Ribbons – Nested Content
• Grid page – 1 grid layout, row config for columns
Editor's Notes
- Danish web-agency
Specialised in Umbraco websites, e-commerce and online marketing
Help other Umbraco companies – development + online marketing
- Use for dynamic layout = editor has huge responsibility
When it make sense: Could be news, case, product etc.
Keep it simple!