{course}
The second rich text markup we consider is {course} This tag functions to embed specific onCourse Course data into a page or web block. It can display data/content either at random, or specified from a particular grouping - ie evening classes. If a course is chosen at random - courses can be restricted by specific tagging and basic class information can also be displayed.
You might like to highlight particular courses on your front page ("Course of the Week" for example), or display a random course in a 'block' in the sidebar across all pages of your website - the possibilities are endless.
Usage
{course tag:"/Subjects/Leisure/Arts" showclasses:"false"}
[tag]
Optional. Defines the path to a tag. The full path to the tag must be specified. e.g. "/Subjects/Leisure/Arts and Craft". This option is ignored if the "code" parameter is passed. A random course will be displayed from the tag specified. If no tag is defined, "/Subjects" is assumed.
[code]
Optional. Specifies a particular course code to display. If this option is not defined, a random course will be shown.
[showclasses]
[true, false] Optional. A unordered list of all the classes available for this course will also be displayed. Default is false.
Updated 6 months ago