Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Anchor
top
top
In this article:

Table of Contents
minLevel2
maxLevel2
outlinefalse
typeflat
separatorpipe
printablefalse

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.

Info

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

Aura tab collection
paramsJTdCJTIyZ2VuZXJhbCUyMiUzQSU3QiUyMnRhYlNwYWNpbmclMjIlM0EwJTJDJTIydGFiV2lkdGglMjIlM0E3MCUyQyUyMnRhYkhlaWdodCUyMiUzQTQ1JTJDJTIyZGlyZWN0aW9uJTIyJTNBJTIyaG9yaXpvbnRhbCUyMiU3RCUyQyUyMmNvbnRlbnQlMjIlM0ElN0IlMjJzaXplJTIyJTNBJTdCJTIyaGVpZ2h0JTIyJTNBMzAwJTdEJTJDJTIyYmFja2dyb3VuZENvbG9yJTIyJTNBJTdCJTIyY29sb3IlMjIlM0ElMjIlMjNmZmYlMjIlN0QlMkMlMjJwYWRkaW5nJTIyJTNB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bG9yJTIyJTNBJTIyJTIzZjRmNWY3JTIyJTdEJTdEJTJDJTIyaW5hY3RpdmUlMjIlM0ElN0IlMjJiYWNrZ3JvdW5kQ29sb3IlMjIlM0ElN0IlMjJjb2xvciUyMiUzQSU3QiUyMmxpZ2h0JTIyJTNBJTIyJTIzZmFmYWZhJTIyJTdEJTdEJTJDJTIydGV4dCUyMiUzQSU3QiUyMmZvbnRTaXplJTIyJTNBMTYlMkMlMjJjb2xvciUyMiUzQSUyMiUyMzVlNmM4NCUyMiUyQyUyMnRleHRBbGlnbiUyMiUzQSUyMmxlZnQlMjIlMkMlMjJmb250V2VpZ2h0JTIyJTNBJTIybm9ybWFsJTIyJTdEJTJDJTIyYm9yZGVyJTIyJTNBJTdCJTIydG9wJTIyJTNBZmFsc2UlMkMlMjJsZWZ0JTIyJTNBZmFsc2UlMkMlMjJyaWdodCUyMiUzQWZhbHNlJTJDJTIyYm90dG9tJTIyJTNBdHJ1ZSUyQyUyMndpZHRoJTIyJTNBMSUyQyUyMnN0eWxlJTIyJTNBJTIyc29saWQlMjIlMkMlMjJjb2xvciUyMiUzQSUyMiUyM2Y0ZjVmNyUyMiU3RCU3RCU3RA==
Aura tabsummary

Current content experience

paramsJTdCJTIydGl0bGUlMjIlM0ElMjJDdXJyZW50JTIwY29udGVudCUyMGV4cGVyaWVuY2UlMjIlN0Q=
  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.

Aura tabsummary

New content experience

paramsJTdCJTIydGl0bGUlMjIlM0ElMjJOZXclMjBjb250ZW50JTIwZXhwZXJpZW5jZSUyMiU3RA==

  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.pngImage Modified
  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

Insert excerpt
Course implementation
Course implementation
namefooter 1
nopaneltrue

Insert excerpt
Course implementation
Course implementation
namefooter 2
nopaneltrue

Insert excerpt
Course implementation
Course implementation
namefooter 3
nopaneltrue