As you can tell from the title this article will teach you how to add a second template to a already existing doc type.
* Reasons you may want to do this: Lets say you have a staff profile section with each staff member having their own details page. But now you want the Higher up staffs pages to display the same content as every other page but to look differently when viewing the page. This is where you will add a second template to your Doc Type.
Now lets show you how this is done
Step 1. Log into your Umbraco 8 back office.
Step 2. Navigate to the templates section. (Settings>Templating>Templates) and right click on the Templates folder.(or Click the 3 dots to the right of the folder) and Click "Create".
Step 3. Give your template a Name and add your HTML in your desired fashion. And then Click "Save".
Now you need to add your template to your doc type
Step 1. Navigate to the Doc Type you would like to add your second template to. (Settings>Document Types>**YOURDOCTYPE**)
Step 2. Click Templates in the top right corner ( or hit the number 4 key ).
Step 3. Click "Choose Extra Template" and select the template you have just created. And then Hit "Save".
Next you need to create a new instance or your Doc Type and assign your new Template.
(I will add my Doctype and Template as a menu item in the main nav bar on the home page)
Step 1. Click on the content section from your Umbraco 8 Menu.
Step 2. Right Click on the home Content Tree item. ( or click the 3 dots to the right of the tree item).
Step 3. Click "Create" and select the Doc Type you have assigned your second template.
Step 4. Fill in all the content property sections and hit "Save and Publish".
Step 5. Click the info tab in the top right of your screen. ( or hit the number 2 key ).
Step 6. To the right of your screen you will see a section called template with a drop down box. Fro this drop down Select your new template and hit "Save".
Step 7. Reload your site and Navigate to your new page with your new template. If everything has been done correctly your new template should be displayed with all the same content as your original Doc Type template but laid out in your new Templates design.