Not a developer? Go to MovableType.com

Documentation

PagerBlock

A block tag iterates from 1 to the number of the last page in the search result. For example, if the limit was 10 and the number of results is 75, the tag loops from 1 through 8.

The page number is set to __value__ standard variable in each iteration.

The tag also sets __odd__, __even__, __first__, __last__ and __counter__ standard variables.

Example:

    M
    <MTPagerBlock>
      <MTIfCurrentPage>o<MTElse><a href="<MTPagerLink>">o</a></MTIfCurrentPage>
    </MTPagerBlock>
    vable Type

produces:

    "Mooooooooovable Type" where each "o" is a link to the page.

Back

Leave a Comment