Learn Creation Of Templates, Document Types And Content Page In Umbraco CMS

Introduction

 
Welcome to the "Learn Umbraco CMS" article series. This article is Part 2 of the series. We will see how to create templates, Document Types, and Content Pages in Umbraco CMS.
 
This article starts with the concept of Umbraco cms and its various components. The previous article provided an introduction to Umbraco CMS and Installation and hosting of the same that you can get from here.
 
First, let's delete all the default content files 

Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS
 
After deleting we can see the output as below

Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS
 
Step 2
 
Let's create the template as below. Click on Templates and click on create

Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS

Input the name you prefer and click on save

Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS

Create view Home under the template and click on save 
Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS
 
Step 3
 
Now let's create a Document Type and select the template
 
Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS
 
Click on Templates and select Home as default template as below

Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS

Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS

Select the icon and color as below

Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS

Step 4
 
Now let's copy and paste all the assets which we have downloaded to the main solution as below 

Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS

Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS
Enable the permissions in document type to all the editors as below 

Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS

Step 5
 
Now let's create a content page click in content and select Home 

Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS

Type Home and click on save and publish

Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS

Open umbraco.local we can see the new template in action as below,

Learn Creation Of Templates, Document TYpes And Content Page In Umbraco CMS

Summary


In this article, we have learned how to create Templates, Document Types and Content Type in Umbraco CMS. In future articles, we will understand more about Master Template in Umbraco cms. I hope you have liked this.

Recommended Ebook

Diving Into Microsoft .NET Entity Framework

Download Now!
Similar Articles