Skip to main content
Skip table of contents

Use Content Templates in myCourses

Templates in myCourses allow you to create files that have a consistent layout. Templates can be .HTML, .HTM, .XHTML, or .CSS files.

Upload and enable Content Templates

Before adding a template to the Content tool, you must first create or download templates and then import them to myCourses. 

Add a template package to your myCourses files:

  1. Save the template package to your computer.

  2. Navigate to Manage Files from the Course Admin section of your course. It is located under the Site Resources heading.

  3. Click Upload.

  4. Select the template package .zip file on your computer and click Upload.

  5. Unzip the file.

Enable templates in Content:

  1. Navigate to the main Content page from the Navigation Bar.

  2. Click Settings at the top-right.

Content settings are only available in the current Content Experience. See here for instructions about how to switch between the current and new Content Experiences. 

  1. In the Content Authoring area, select the Enable HTML Templates checkbox.

  2. (Optional) To make it easier to find HTML templates, select the Sort HTML Templates by name option to sort templates in alphanumeric order based on file name.

  3. (Optional) The default template directory for all courses is the Shared Directory for McGill templates. You can change this directory to a folder in the Manage Files page of your course for easier access to your own templates:

    1. If you want to change where your templates are located, click Change Path and navigate to the desired directory.

    2. Select your new location (or create a new folder), then click Select Path.

    3. Click Save. You will now see the templates from your selected directory when you follow the steps to Use a Content Template (below). 

  4. Save your changes.

Back to top


Use a Content Template

Current content experience

  1. On the main Content page, select a module from the sidebar.

  2. Click Upload/Create and select Create a File.

  3. Enter a title; then click Select a Document Template from the drop-down list at the top of the page and select Browse for a Template.

  4. In the pop-up window that appears, locate and select a template from the Manage Files page of your course.

  5. Click Add to close the window and apply the selected template.

  6. Enter your content in the template.

  7. Click Save and Close.

New content experience

  1. On the main Content page, select a unit, lesson, or folder from the sidebar.

  2. Click Create New and select HTML Document.

  3. Enter a title; then click the arrow at the top-right of the text editor. Select Browse for a Template from the drop-down menu.

    image-20240309-193452.png
  4. In the pop-up window that appears, locate and select a template from the Manage Files page of your course.

  5. Click Add to close the window and apply the selected template.

  6. Enter your content in the template.

  7. Click Save.

Back to top


While this resource is accessible worldwide, McGill University is on land which has served and continues to serve as a site of meeting and exchange amongst Indigenous peoples, including the Haudenosaunee and Anishinabeg nations. Teaching and Learning Services acknowledges and thanks the diverse Indigenous peoples whose footsteps mark this territory on which peoples of the world now gather. This land acknowledgment is shared as a starting point to provide context for further learning and action.

TLS-logo_rgb_horizontal_EN.png

McLennan Library Building 3415 McTavish Street Suite MS-12(ground level), Montreal, Quebec H3A 0C8 | Tel.: 514-398-6648 | Fax: 514-398-8465 | Email: tls@mcgill.ca




JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.