<mt:ArchiveNext>

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

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

Attributes:

  • type or archive_type (optional)

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

Example:

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

1 Note

Shouldn't MT:ArchiveNext now work with Category-Monthly archives? There is a 'date" context there. It appears to just be ignored though.

Leave a note

Have a question, please use the MT Forums. Notes sumbitted here should pertain to tips & hints regarding documentation. Your note may be removed once it's contents has be integrated into the body of the page.