Not a developer? Go to MovableType.com

Documentation

Calendar

A container tag representing a calendar month that lists a single calendar "cell" in the calendar display.

Attributes:

  • month

    An optional attribute that specifies the calendar month and year the tagset is to generate. The value must be in YYYYMM format. The month attribute also recognizes two special values. Given a value of "last", the calendar will be generated for the previous month from the current date. Using a value of "this" will generate a calendar for the current month.

    The default behavior is to generate a monthly calendar based on the archive in context. When used in the context of an archive type other then "Category," the calendar will be generated for the month in which the archive falls.

  • category

    An optional attribute that specifies the name of a category from which to return entries.

Example:

To produce a calendar for January, 2002 of entries in the category "Foo":

    <mt:Calendar month="200201" category="Foo">
        ...
    </mt:Calendar>
Back

Leave a Comment