Cobra Learning - Using HTML Document Templates

CobraBanner

Using HTML document templates

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

  1. Click Settings in the Content tool.
  2. Select the Enable HTML Templates check box.
  3. Click Change Path.
  4. Select the folder that will contain your template directory, or create a New Folder for it.
    • If you want to house your templates in a shared folder, click Shared Files first, then click New Folder.

    Tip  Normally, a course has its own template directory in Course Offering Files. However, if you want the template directory to be available for all courses and you have the necessary access permissions, set the template directory to a folder in Shared Files. It will be available to all courses within the organization.

  5. Click Select Path.
  6. Click Save.

Apply an HTML template to a new document

  1. In a module, click Create a file from the Update/Create button.
  2. One of two options will be available:
  3. 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.


Tech Service Desk: Contact and Hours

Room A184 * 217-353-3333 * techhelp@parkland.edu * 7:30 a.m. - 6:00 p.m. M-Th. / 7:30 a.m. - 5:00 p.m. Fridays

Satellite location * Parkland Library * 10:00 a.m. - 2:00 p.m. M-Th. / 10:00 a.m. - 12:00 p.m. Fridays