• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part: V Appendixes > Calendar Tags

Calendar Tags

The template tags listed in Table B.5 are used primarily to build calendar-style navigation for your weblog's archives.

Table B.5. Category Tags
Tag NameTag TypeDescription
MTCalendarLCIterates over the days in a month-style calendar for the entries in the current archive. Attributes:

category: Specifies a particular category to be used for the link.

month: Specifies the month to build the calendar for. Acceptable values are last, this, and a specific month in the format YYYYMM.

MTCalendarCellNumberVInserts the number of the current day's block in the calendar, where the first row of days is 1–7, the second 8–14, and so on.
MTCalendarDateVInserts the date of the currentblock. Attributes:

format:language: Controls how the date is written. (See “Formatting Dates” later in this appendix.) Specifies in what language the date is to be written.

MTCalendarDayVInserts the day of the month of the current block.
MTCalendarIfBlankCCThe contents of this tag are evaluated if the current block is not a day in the current month.
MTCalendarIfEntriesCCThe contents of this tag are evaluated if the currentblock represents a day that has at least one entry.
MTCalendarIfNoEntriesCCThe contents of this tag are evaluated if the current block represents a day that has no entries.
MTCalendarIfTodayCCThe contents of this tag are evaluated if the current block represents the present day.
MTCalendarWeekFooterCCThe contents of this tag are evaluated if the current block is the last in the current week.
MTCalendarWeekHeaderCCThe contents of this tag are evaluated if the current block is the first in the current week.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint