Adding a Calendar as an option module:

In the manage templates screen, scroll to the bottom and click Create new module.

Name: calendar
Module Body: Paste the below snippet into this text box.

Open module sidebar from the manage template screen in MT. Insert the following code where you would like the calendar to appear:

<$MTInclude module="calendar"$>


Click save and rebuild your indexes. You now have a calendar!



module body:
<table border="0" cellspacing="4" cellpadding="0">
<tr>
<td colspan="7" align="center">
<$MTDate format="%B %Y"$></td>
</tr>
<tr>
<td align="center">Sun</td>
<td align="center">Mon</td>
<td align="center">Tue</td>
<td align="center">Wed</td>
<td align="center">Thu</td>
<td align="center">Fri</td>
<td align="center">Sat</td>
</tr>
<MTCalendar>
<MTCalendarWeekHeader><tr>
</MTCalendarWeekHeader>
<td <MTCalendarIfToday>bgcolor="#EEEEEE"
</MTCalendarIfToday> align="center">
<MTCalendarIfEntries><MTEntries lastn="1">
<a href="<$MTEntryLink$>">
<$MTCalendarDay$></a>
</MTEntries></MTCalendarIfEntries>
<MTCalendarIfNoEntries>
<$MTCalendarDay$>
</MTCalendarIfNoEntries>
<MTCalendarIfBlank>&nbsp;
</MTCalendarIfBlank></td>
<MTCalendarWeekFooter></tr>
</MTCalendarWeekFooter>
</MTCalendar>
</table>

Close Window