<$mt:ArchiveCount$>

This tag will potentially return two different values depending upon the context in which it is invoked.

If invoked within Categories this tag will behave as if it was an alias to CategoryCount.

Otherwise it will return the number corresponding to the number of entries currently in context. For example within any Entries context, this tag will return the number of entries that that Entries tag corresponds to.

Example:

    <mt:Categories>
        There are <$mt:ArchiveCount$> entries in the <$mt:CategoryLabel$>
        category.
    </mt:Categories>
This page was last updated on 2007-09-25, 17:36.  

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.