Note: You are currently viewing documentation for Moodle 2.3. Up-to-date documentation for the latest stable version is available here: Course element : Course Heading.

Course element : Course Heading

From MoodleDocs

Back to index

The Course Heading is a simple element that provides standard layout and styling for whole course main caption.

Settings form

Default Template

  <table class="custombox-courseheading">
  <tr valign="middle" class="custombox-icon courseheading">
  <%%imageL%%>
  </td>
  <td width="*">
  <%if %%showcategory%% %><div class="custombox-category courseheading"><%%category%%></div><%endif %>

<div class="custombox-preheading courseheading"><%%moduletype%%>

  <div class="custombox-heading courseheading"><%if %%showshortname%% %>(<%%shortname%%>)<%endif %> 

<%%courseheading%%> <%if %%showidnumber%% %>(<%%idnumber%%>)<%endif %>

  <%if %%showdescription%% %><div class="custombox-description courseheading"><%%coursedesc%%></<%endif %>
  </td>
  <%%imageR%%>
  </tr>
  </table>

CSS Element list

.custombox-courseheading(TABLE) : Overal container

.custombox-heading.courseheading (DIV) : Course Caption container

.custombox-idnumber.courseheading (DIV) : ID Number container

.custombox-category.courseheading (DIV) : Category Name container

.custombox-description.courseheading (TD) : Course Description (summary) container