Table of Contents
Overview
Page Template Design
Building Page Templates
Question Bank
Assigning Page Templates
Overview
If you are using Coursedog's Curriculum Management product along with your catalog, you will want to determine how the pre-built course and program pages are displayed. Fortunately, Coursedog provides you with an extremely flexible template editor that can be used to apply a consistent style across all course & program pages in the catalog.
Page Template Design
Overview | Fields | Cards | Public View
Overview
Before you start building page templates, it is important to first understand the different parts that make up each template. In short: each template is made up of different cards, and every card consists of various fields. The following screenshot of a course template, for example, shows the “General Information” card, which consists of several fields: Subject Code Select, Course Number, Text, Department Select, and Select.
Fields
Fields are the custom fields and template questions described below under "Question Bank".
Fields can be dragged around the template in order to allow you to adjust the order in which they display.
Fields can be moved between cards at any time.
Cards
The primary purpose of a card is to intuitively group fields together for the viewer.
Cards contain a set of fields and include a header.
The name of the card can be edited at any time (simply click on the name to change it).
At the bottom of the page there is an option to add another card:
Public View
The fields you add to the template – and the way in which you order the fields and cards – will ultimately impact what the public sees. The general information card shown in the template above will look like this in the public view.
Building Page Templates
PATH: Catalog > Settings > Page Templates
Overview
You can add or edit course and program templates at the above path.
Create a new template from scratch by clicking the "NEW TEMPLATE" button at the top of the page.
Edit an existing template by selecting an option from the list.
How To Do It
Step One: Select “New Template”.
Step Two: Fill out the required fields:
Input a name.
Select the type of template (i.e. Course or Program) from the dropdown.
Step Three:
Add the fields you would like to appear on the page template.
On the left-hand side, you will find the Question Bank inputs that you can drag onto the template. A breakdown of both is provided below.
You will not need to save your template when you are done – it is automatically saved.
Question Bank
Overview| Custom Fields| Template Questions
Overview
The question bank includes two option types: Custom Fields and Template Questions.
Custom Fields
Custom Fields allow you to define content that will display on the course page directly in the template builder. Click “Custom Fields” to see the two types of Custom Fields you can add to a template: WYSIWYG Editor and Custom Heading.
WYSIWYG Editor
The WYSIWYG (“What You See Is What You Get”) Editor allows you to define a text box with tables, images, and more (learn more about the WYSIWYG Editor here). To use the WYSIWYG editor, drag the custom field onto the template, then click on it. This will display the following menu:
Set Default Value
Allows you to define the content you would like to be displayed across all pages of the template's type.
Add Action
Allows you to make exceptions by defining which pages should not receive the default value and defining an alternative option.
Custom Heading
Allows you to define a header on the template. After dragging the field onto the template, enter the header title you wish to add in the "question title" section. In the public view, the heading will display as an H2 header (shown here).
Template Questions
Overview
These fields are pulled directly from the associated template in Curriculum Management.
Some of the fields have nested data which can also be modified. These fields include:
Requisites
Components
Topics
Specializations
Credits
When a field with nested data is added, a dropdown menu will appear on the field in the template. Simply click on this dropdown to expand the settings and edit visibility.
*Note: the “User Select” field should not be used within templates to display instructors. “User Select” is not designed for display, and will not render in a public-facing catalog.
Assigning Page Templates
PATH: Catalog > Settings > Catalogs
Overview
Each catalog must be assigned a course and program template in order to display Curriculum-fed data.
How To Do It
Step One: Navigate to Catalog > Settings > Catalogs.
Step Two: Click on the catalog you wish to edit.
Step Three: Select the desired template from the "Catalog Course Page Template" and "Catalog Program Page Template" drop downs.
Step Four:
Select “Save” when you have finished editing.
All courses and programs that are pulled into that catalog will reflect the layout you have defined.