Beruflich Dokumente
Kultur Dokumente
Goals of Day 1
Overview of Umbraco Complete foundation blocks of Umbraco to assist basic website development. Understanding of integration between front-end and Umbraco CMS
Introduction
Umbraco Background Evolution of Umbraco CMS Features Features for Content Editors Future of Umbraco CMS
Umbraco Background
Developed in 2005 by Niels Hartvig
More than 125,000 installations worldwide ASP.NET, Heinz, Peugeot, Tesco, Wired, FOX and Vogue Magazine run Umbraco WTiN, Carbonclix, ACTT, Autotechcouncil, Altfield my Umbraco sites Designed to run within the Microsoft stack And best of all.its FREE!
Features
Umbraco is powerful & flexible All Markups are controlled by Front-end team. Its extensible Supports Multi Language Its Open Source Umbraco has a community and plugins
Umbraco as a SAAS
Umbraco Set Up
Install Umbraco using Web Matrix & Web Platform Installer (WPI) Visual Studio 2012 & NuGet [Install-Package UmbracoCms] Web Forms & MVC Manual Installation Demo
Template Web Form / MVC Views HTML + Place Holders Macros Razor/Partial Views/ User Controls/XSLT
Umbraco Navigation
Umbraco Tree Structure Separate content and structure Umbraco Content tree and Building Blocks Umbraco Admin Panel and Sections
Document Types
How do we organize site using Document Types? Meet the data design needs of the specific content SQL Table If your design has a unique template (home page, events, news) you probably want a unique docType as well Related Topics Document Property, Data Types, Data Editors
Umbraco Framework
Database
Publishing
Your Website
Content Organisation
Organize content into logical sections according to website visitors expectations Urls are created from the content tree structure Easier to remember urls Helps with SEO Keep detailed information in sub-nodesand render the result on the parent container with a macro Ex: Job postings, Events, Slider Examples of different ways of building content: TrampCarbon ACTT.edu.au Avcover.com.au Wtin.com
Macros
Razor Macros .NET User Controls Macros XSLT Macros Partial View Macro Macro Settings
Razor
Overview Hello World Example Code Block [@DateTime.Now.Year] Dedicated & Inline Script Inline Script [Hello Word Example with DateTime] Inline Script [1-InlineScript.txt] DynamicNode and Cheatsheets
Razor(contd)
Accessing Property Data @Model (Slides) Example [Id, Name, Url, bodyText, umbracoNaviHide]
Accessing Macro Parameters Example [Edit Properties and add Name from Parameter to Hello World example] @Parameter.who
Razor(contd)
Listing Items Show Sub Pages Add Where Clause(Visible) Instead of Children add DocumentType to restrict list to DocumentType. .AncestorOrSelf(1) This can be shown when you are inside sub pages and want to show top level node.
Media & Gallery (show from DigitalTextile) Form (show from DigitalTextile and add to Node) Reference: http://our.umbraco.org/wiki/re ference/code-snippets/razorsnippets
XSLT Macros
Packages
Install Useful Packages ImageGen DAMP UComponents