ArchivePrevious

A container tag that creates a context to the "previous" archive relative to the current archive context.

This tag also works with the else tag to produce content if there is no "previous" archive.

Attributes:

  • type or archive_type (optional)

    Specifies the "previous" archive type the context is for. See the ArchiveList tag for supported values for this attribute.

Example:

    <mt:ArchivePrevious>
      <a href="<$mt:ArchiveLink$>"
        title="<$mt:ArchiveTitle escape="html"$>">Next</a>
    <mt:Else>
       <!-- output when no previous archive is available -->
    </mt:ArchivePrevious>
This page was last updated on 2007-09-27, 17:55.  

Leave a note