How to add a template to your course
There are two ways to add and use templates in your course. The first method is to copy and paste the HTML code into the Source Code editor in D2L. The second method is the Document Template feature in D2L to quickly load a template onto a blank web page with a single mouse click.
Click on each section below to get started.
Tip
It may be helpful to have two windows or tabs open for this section; one window for your D2L course site, and another for the Course Maker website.
- Go To the Course Maker Website.
- In the navigation, under Build, select Page Templates.
- Select the template that you would like to add to your course.
- Click on the Apply tab.
- This tab includes basic information about the template, such as use cases, best practices, or specific considerations a course builder should take when using a template.
- Click on the Copy button to copy the HTML code to your clipboard.
- Open your D2L course site.
- Click on Content and navigate to the module (or sub-module) to which you want to add the template.
- Click on the Upload/Create button, and select Create a File from the dropdown menu.
- Add a title to the web page.
- In the HTML Editor, click on the Source Code Editor button.
- In the popup window, paste in the copied HTML code.
- Tip: It is best to clear out any text in this window before pasting your HTML code.
- Click Save.
The template will appear in the D2L HTML editor. You can now customize the page with your educational content and replace images. Click on the Save and Close button to publish your changes.
Repeat these steps as necessary to complete building your course.
Tip
All the Templates use #ToDo to outline the content you should update and personalize.
To search on Windows:
- Press CTRL + F on your keyboard.
- Type in #ToDo in the search field in the top-right corner. To see the next occurrence on the page, click the Next button to the right of the field.
To search on Mac:
- Press Command + F on your keyboard.
- Type in #ToDo in the search field in the top-right corner. To see the next occurrence on the page, click the Next button to the right of the field.
The Document Templates feature in D2L is an excellent tool for when you want on-demand templates without having to leave D2L or jump between browser windows.
The section below will guide you on setting up D2L to use Document Templates and show you how to add templates to your course site using the feature.
How to set up D2L to use Document Templates:
- Navigate to your D2L course site.
- Click on the Content tab from the Navigation Bar.
- Click on the Settings button (located under the navigation bar).
- Under the Content Authoring heading, check the Enable HTML Templates checkbox.
- You will now set the Template Path by clicking the Change Path button.
- In the pop window, click on Public Files.
- Locate the Course Maker folder, and click on the plus sign icon to expand the folder.
- Locate the Starter Kit subfolder and click on the plus sign icon to expand the folder. Inside the Starter Kit subfolder, select the PageTemplates folder.
- Click on the Select Path button at the bottom of the popup window to set the template path.
- The Template Path should be: /shared/CourseMaker/PageTemplates/
- Click Save.
Your D2L site is now set up to use all of the templates included in the Starter Kit.
How to use Document Templates:
- Open your D2L course site.
- Click on the Content tab and navigate to the module where you want to add a template.
- Click on the Upload/Create button, and select Create a File from the drop-down menu.
- Enter a title for your web page.
- Click on the Select a Document Template button next to the title textbox.
- Select the template that you would like to use from the drop-down menu.
- A blank, ready-to-use version of the page will load into the HTML editor.
- Make a mistake? You can select a different template or reset the page by clicking on the Select a Document Template button and selecting either the same template or a different one.
- Customize your page with content, images, and links.
- Click on the Save and Close button to publish and save your changes.
Repeat steps 3-9 for each web page that you want to add to your course.
Templates are a convenient way to get a course ready for the semester quickly. Let’s discuss some best practices to keep in mind when using templates.
- Naming: When creating a new file(web page) in D2L, be sure to give it a unique name. For example “Week 1 Overview” or “Week 2 Overview” instead of “Module Overview”.
- Web Pages Only: The description area inside D2L is not made to handle the rich content of an HTML web page. Therefore, the Course Maker Templates will not work in the description field.
- Keep It Consistent: Try to keep a consistent design between the different web pages inside each module. It makes content easier to find and reduces cognitive load.