movabletype.jp
検索

MTIfCurrentPage block tag new in mt4.2

MTPagerBlock ブロックタグを利用して作成したページナビゲーションの中で、何番目のページを表示中かを判別します。

使い方

M
<MTPagerBlock>
  <MTIfCurrentPage>o<MTElse><a href="<$MTPagerLink$>">o</a></MTIfCurrentPage>
</MTPagerBlock>
vable Type
Updated on 2008-03-31, 15:23 .

Movable Type 関連書籍