You can create a new HTML document based on any existing HTML file. If you set up a path to a directory containing HTML templates in Manage Files, these template choices appear in a drop-down list when you create a new document. All links to assets such as images, CSS, and JS files are maintained when you create a new HTML document from a template in Content.
Therefore, you can build many documents from one central template housed in the template directory, with standard styles and images already included.
If you have already created an entirely new HTML document, you can save it in your template directory for other documents.
Enable HTML templates
- Click Settings in the Content tool.
- Select the Enable HTML Templates check box.
- Click Change Path.
- If you want to house your templates in a shared folder, click Shared Files first, then click New Folder.Select the folder that will contain your template directory, or create a New Folder for it.
- Click Select Path.
- Click Save.
Apply an HTML template to a new document
- In a module, click Create a File from the New button.
- One of two options will be available:
- Select a Document Template from the drop-down listif you have a defined template directory.
- Click Browse for a Template if you do not have a defined template directory. You can search for templates located in other folders or on your computer.
- Once you have selected a template, customize it according to your needs and click Publish or Save as Draft.
Note If you decide to save a draft based on an HTML template to a different file path, all links to images, css, or js assets are retained.
Copyright © 1999-2014 Desire2Learn Incorporated. All rights reserved.
- Content basics
- Creating course content
- Understanding the organization of Content
- Creating modules and sub-modules in Content
- Creating a new topic in Content
- Adding and uploading course files as new Content topics
- Creating and arranging your course content using drag and drop
- Using HTML document templates in Content
- Restricted file extensions
- Managing and updating course content
- Using SCORM in Content
- Tracking content completion and participation